Update app.py
Browse files
app.py
CHANGED
|
@@ -88,7 +88,11 @@ agent = CodeAgent(
|
|
| 88 |
description=None,
|
| 89 |
prompt_templates=prompt_templates
|
| 90 |
)
|
|
|
|
|
|
|
|
|
|
| 91 |
|
| 92 |
-
|
|
|
|
| 93 |
|
| 94 |
GradioUI(agent).launch()
|
|
|
|
| 88 |
description=None,
|
| 89 |
prompt_templates=prompt_templates
|
| 90 |
)
|
| 91 |
+
# Quick tool test (for debugging only)
|
| 92 |
+
results = DuckDuckGoSearchTool().run("Technology news")
|
| 93 |
+
print("Search results:", results)
|
| 94 |
|
| 95 |
+
test_image = image_generation_tool.run(prompt="a futuristic robot reading the news")
|
| 96 |
+
print("Image URL:", test_image)
|
| 97 |
|
| 98 |
GradioUI(agent).launch()
|