Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,8 +62,8 @@ agent = CodeAgent(
|
|
| 62 |
)
|
| 63 |
|
| 64 |
# 🚫 REMOVE THIS, agent should run everything via .run() inside Gradio
|
| 65 |
-
|
| 66 |
-
|
| 67 |
|
| 68 |
# ✅ Launch Gradio agent
|
| 69 |
GradioUI(agent).launch()
|
|
|
|
| 62 |
)
|
| 63 |
|
| 64 |
# 🚫 REMOVE THIS, agent should run everything via .run() inside Gradio
|
| 65 |
+
image = image_generator(prompt="A high-quality, photorealistic image of a cat sleeping on a windowsill.")
|
| 66 |
+
final_answer(image)
|
| 67 |
|
| 68 |
# ✅ Launch Gradio agent
|
| 69 |
GradioUI(agent).launch()
|