Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,9 +50,9 @@ custom_role_conversions=None,
|
|
| 50 |
|
| 51 |
|
| 52 |
# Import tool from Hub
|
| 53 |
-
|
| 54 |
-
image_generation_tool = load_tool("models/ZB-Tech/Text-to-Image", trust_remote_code=True)
|
| 55 |
-
#
|
| 56 |
|
| 57 |
with open("prompts.yaml", 'r') as stream:
|
| 58 |
prompt_templates = yaml.safe_load(stream)
|
|
|
|
| 50 |
|
| 51 |
|
| 52 |
# Import tool from Hub
|
| 53 |
+
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 54 |
+
#image_generation_tool = load_tool("models/ZB-Tech/Text-to-Image", trust_remote_code=True)
|
| 55 |
+
#provider="hf-inference",
|
| 56 |
|
| 57 |
with open("prompts.yaml", 'r') as stream:
|
| 58 |
prompt_templates = yaml.safe_load(stream)
|