Boris72 commited on
Commit
6f56537
·
verified ·
1 Parent(s): 38c582a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -75,4 +75,12 @@ agent = CodeAgent(
75
  )
76
 
77
 
78
- GradioUI(agent).launch()
 
 
 
 
 
 
 
 
 
75
  )
76
 
77
 
78
+ #GradioUI(agent).launch()
79
+
80
+ image_generation_tool = Tool.from_space(
81
+ "black-forest-labs/FLUX.1-schnell",
82
+ name="image_generator",
83
+ description="Generate an image from a prompt"
84
+ )
85
+
86
+ image_generation_tool("A Moscow city")