Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -124,7 +124,7 @@ custom_role_conversions=None,
|
|
| 124 |
|
| 125 |
|
| 126 |
# Import tool from Hub
|
| 127 |
-
|
| 128 |
|
| 129 |
with open("prompts.yaml", 'r') as stream:
|
| 130 |
prompt_templates = yaml.safe_load(stream)
|
|
|
|
| 124 |
|
| 125 |
|
| 126 |
# Import tool from Hub
|
| 127 |
+
image_generation_tool2 = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 128 |
|
| 129 |
with open("prompts.yaml", 'r') as stream:
|
| 130 |
prompt_templates = yaml.safe_load(stream)
|