Update app.py
Browse files
app.py
CHANGED
|
@@ -89,8 +89,10 @@ agent = CodeAgent(
|
|
| 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)
|
|
|
|
| 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 |
+
result = agent.run("Use DuckDuckGoSearchTool to find news about Technology")
|
| 95 |
+
print(result)
|
| 96 |
|
| 97 |
test_image = image_generation_tool.run(prompt="a futuristic robot reading the news")
|
| 98 |
print("Image URL:", test_image)
|