PLBot commited on
Commit
c33cb61
·
verified ·
1 Parent(s): f987a0b

display image

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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: