Chris4K commited on
Commit
d64aa30
·
verified ·
1 Parent(s): e499a5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -3,6 +3,7 @@
3
  # pylint: disable=line-too-long, broad-exception-caught
4
  import datetime
5
 
 
6
  # import requests
7
  import pytz
8
  import yaml
@@ -16,6 +17,7 @@ from smolagents import (
16
  tool,
17
  )
18
  from tools.final_answer import FinalAnswerTool
 
19
 
20
 
21
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
@@ -70,6 +72,7 @@ agent = CodeAgent(
70
  my_cutom_tool,
71
  get_current_time_in_timezone,
72
  final_answer,
 
73
  ], ## add your tools here (don't remove final answer)
74
  max_steps=6,
75
  verbosity_level=1,
 
3
  # pylint: disable=line-too-long, broad-exception-caught
4
  import datetime
5
 
6
+
7
  # import requests
8
  import pytz
9
  import yaml
 
17
  tool,
18
  )
19
  from tools.final_answer import FinalAnswerTool
20
+ from tools.visit_webpage import VisitWebpageTool
21
 
22
 
23
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
 
72
  my_cutom_tool,
73
  get_current_time_in_timezone,
74
  final_answer,
75
+ visit_webpage
76
  ], ## add your tools here (don't remove final answer)
77
  max_steps=6,
78
  verbosity_level=1,