SilviuMatei commited on
Commit
250d404
·
verified ·
1 Parent(s): 4df40cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ import smolagents
12
  import playwright.sync_api as playwright
13
  import re
14
  from tools.final_answer import FinalAnswerTool
15
- from tools.getDeviceInfo import getDeviceInfo
16
 
17
  # Initialize the final answer tool
18
  final_answer = FinalAnswerTool()
@@ -32,7 +32,7 @@ with open("prompts.yaml", 'r') as stream:
32
  # Create the agent
33
  agent = CodeAgent(
34
  model=model,
35
- tools=[final_answer, getDeviceInfo()],
36
  max_steps=6,
37
  verbosity_level=1,
38
  grammar=None,
 
12
  import playwright.sync_api as playwright
13
  import re
14
  from tools.final_answer import FinalAnswerTool
15
+ from tools.visit_webpage import VisitWebpageTool
16
 
17
  # Initialize the final answer tool
18
  final_answer = FinalAnswerTool()
 
32
  # Create the agent
33
  agent = CodeAgent(
34
  model=model,
35
+ tools=[final_answer, VisitWebpageTool()],
36
  max_steps=6,
37
  verbosity_level=1,
38
  grammar=None,