jancijen commited on
Commit
fa7ea5a
·
verified ·
1 Parent(s): 415b2d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -49,13 +49,13 @@ custom_role_conversions=None,
49
 
50
 
51
  # Import tool from Hub
52
- #image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
53
 
54
- image_generation_tool = Tool.from_space(
55
- "black-forest-labs/FLUX.1-schnell",
56
- name="image_generator",
57
- description="Generate an image from a prompt"
58
- )
59
  # stabilityai/stable-diffusion-xl-base-1.0
60
 
61
  with open("prompts.yaml", 'r') as stream:
 
49
 
50
 
51
  # Import tool from Hub
52
+ image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
53
 
54
+ # image_generation_tool = Tool.from_space(
55
+ # "black-forest-labs/FLUX.1-schnell",
56
+ # name="image_generator",
57
+ # description="Generate an image from a prompt"
58
+ # )
59
  # stabilityai/stable-diffusion-xl-base-1.0
60
 
61
  with open("prompts.yaml", 'r') as stream: