ahmedmalek185 commited on
Commit
195e1a9
·
verified ·
1 Parent(s): c2510e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -88,7 +88,11 @@ agent = CodeAgent(
88
  description=None,
89
  prompt_templates=prompt_templates
90
  )
 
 
 
91
 
92
- print(image_generation_tool.run(prompt="a cat riding a rocket over a sunset"))
 
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()