mhattingpete commited on
Commit
d638726
·
verified ·
1 Parent(s): 9d980af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import datetime
3
  import requests
4
  import pytz
5
  import yaml
6
- from tools.final_answer import FinalAnswerTool
7
 
8
  from Gradio_UI import GradioUI
9
 
@@ -51,7 +51,7 @@ with open("prompts.yaml", 'r') as stream:
51
 
52
  agent = CodeAgent(
53
  model=model,
54
- tools=[final_answer, image_generation_tool, DuckDuckGoSearchTool, get_current_time_in_timezone], ## add your tools here (don't remove final answer)
55
  max_steps=6,
56
  verbosity_level=1,
57
  grammar=None,
 
3
  import requests
4
  import pytz
5
  import yaml
6
+ from tools.final_answer import FinalAnswerTool, VisitWebpageTool
7
 
8
  from Gradio_UI import GradioUI
9
 
 
51
 
52
  agent = CodeAgent(
53
  model=model,
54
+ tools=[final_answer, image_generation_tool, DuckDuckGoSearchTool(), VisitWebpageTool(), get_current_time_in_timezone], ## add your tools here (don't remove final answer)
55
  max_steps=6,
56
  verbosity_level=1,
57
  grammar=None,