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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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)