Spaces:
Sleeping
Sleeping
display image
Browse files
app.py
CHANGED
@@ -55,7 +55,8 @@ custom_role_conversions=None,
|
|
55 |
image_generation_tool = Tool.from_space(
|
56 |
"black-forest-labs/FLUX.1-schnell",
|
57 |
name="image_generator",
|
58 |
-
description="Generate an image from a text prompt. The prompt should be detailed to create high-quality images."
|
|
|
59 |
)
|
60 |
|
61 |
with open("prompts.yaml", 'r') as stream:
|
|
|
55 |
image_generation_tool = Tool.from_space(
|
56 |
"black-forest-labs/FLUX.1-schnell",
|
57 |
name="image_generator",
|
58 |
+
description="Generate an image from a text prompt. The prompt should be detailed to create high-quality images.",
|
59 |
+
return_type="url"
|
60 |
)
|
61 |
|
62 |
with open("prompts.yaml", 'r') as stream:
|