Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,9 +51,7 @@ custom_role_conversions=None,
|
|
| 51 |
|
| 52 |
|
| 53 |
# Import tool from Hub
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
image_generation_tool = load_tool("black-forest-labs/FLUX.1-schnell", trust_remote_code=True)
|
| 57 |
|
| 58 |
with open("prompts.yaml", 'r') as stream:
|
| 59 |
prompt_templates = yaml.safe_load(stream)
|
|
|
|
| 51 |
|
| 52 |
|
| 53 |
# Import tool from Hub
|
| 54 |
+
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
|
|
|
|
|
|
| 55 |
|
| 56 |
with open("prompts.yaml", 'r') as stream:
|
| 57 |
prompt_templates = yaml.safe_load(stream)
|