Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -121,7 +121,7 @@ class GradioInterface:
|
|
| 121 |
|
| 122 |
if __name__ == '__main__':
|
| 123 |
# Initialize the prompt refiner with API token
|
| 124 |
-
prompt_refiner = PromptRefiner(api_token)
|
| 125 |
|
| 126 |
# Create the Gradio interface
|
| 127 |
gradio_interface = GradioInterface(prompt_refiner, custom_css)
|
|
|
|
| 121 |
|
| 122 |
if __name__ == '__main__':
|
| 123 |
# Initialize the prompt refiner with API token
|
| 124 |
+
prompt_refiner = PromptRefiner(api_token,meta_prompts)
|
| 125 |
|
| 126 |
# Create the Gradio interface
|
| 127 |
gradio_interface = GradioInterface(prompt_refiner, custom_css)
|