arieltoledo commited on
Commit
2bf93b3
·
verified ·
1 Parent(s): 2ced3cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ import pytz
5
  import yaml
6
  import os
7
  from tools.final_answer import FinalAnswerTool
8
-
9
  from Gradio_UI import GradioUI
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
@@ -61,7 +61,7 @@ with open("prompts.yaml", 'r') as stream:
61
 
62
  agent = CodeAgent(
63
  model=model,
64
- tools=[final_answer, get_current_time_in_timezone], ## add your tools here (don't remove final answer)
65
  max_steps=6,
66
  verbosity_level=1,
67
  grammar=None,
 
5
  import yaml
6
  import os
7
  from tools.final_answer import FinalAnswerTool
8
+ from tools import visit_webpage.py
9
  from Gradio_UI import GradioUI
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
 
61
 
62
  agent = CodeAgent(
63
  model=model,
64
+ tools=[final_answer, get_current_time_in_timezone, visit_webpage], ## add your tools here (don't remove final answer)
65
  max_steps=6,
66
  verbosity_level=1,
67
  grammar=None,