Spaces:
Sleeping
Sleeping
Removed decorator for imagegen
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ custom_role_conversions=None,
|
|
| 49 |
|
| 50 |
|
| 51 |
# Import tool from Hub
|
| 52 |
-
@tool
|
| 53 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 54 |
|
| 55 |
with open("prompts.yaml", 'r') as stream:
|
|
|
|
| 49 |
|
| 50 |
|
| 51 |
# Import tool from Hub
|
| 52 |
+
# @tool
|
| 53 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 54 |
|
| 55 |
with open("prompts.yaml", 'r') as stream:
|