PLBot commited on
Commit
c48218e
·
verified ·
1 Parent(s): 47267fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ custom_role_conversions=None,
52
  # image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
53
 
54
  # Import the image generation tool directly from the Space
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."
 
52
  # image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
53
 
54
  # Import the image generation tool directly from the Space
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."