Baladuri commited on
Commit
918e06c
·
verified ·
1 Parent(s): 5fe1379

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool, GoogleSearchTool
2
  import datetime
3
  import requests
4
  import pytz
@@ -56,7 +56,10 @@ with open("prompts.yaml", 'r') as stream:
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,
 
1
+ from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool, GoogleSearchTool, VisitWebpageTool
2
  import datetime
3
  import requests
4
  import pytz
 
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,