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