Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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")
|