Baladuri commited on
Commit
56851d8
·
verified ·
1 Parent(s): 918e06c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -1,4 +1,4 @@
1
- from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool, GoogleSearchTool, VisitWebpageTool
2
  import datetime
3
  import requests
4
  import pytz
@@ -56,10 +56,7 @@ with open("prompts.yaml", 'r') as stream:
56
 
57
  agent = CodeAgent(
58
  model=model,
59
- tools=[final_answer,
60
- image_generation_tool,
61
- websearch_tool,
62
- VisitWebpageTool()], ## add your tools here (don't remove final answer)
63
  max_steps=6,
64
  verbosity_level=1,
65
  grammar=None,
 
1
+ from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool, GoogleSearchTool
2
  import datetime
3
  import requests
4
  import pytz
 
56
 
57
  agent = CodeAgent(
58
  model=model,
59
+ tools=[final_answer, image_generation_tool, websearch_tool], ## add your tools here (don't remove final answer)
 
 
 
60
  max_steps=6,
61
  verbosity_level=1,
62
  grammar=None,