jtarletta commited on
Commit
6396869
·
verified ·
1 Parent(s): ec66ca6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -50,6 +50,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
50
 
51
 
52
  final_answer = FinalAnswerTool()
 
53
 
54
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
55
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
@@ -70,7 +71,7 @@ with open("prompts.yaml", 'r') as stream:
70
 
71
  agent = CodeAgent(
72
  model=model,
73
- tools=[get_web_search,final_answer], ## add your tools here (don't remove final answer)
74
  max_steps=6,
75
  verbosity_level=1,
76
  grammar=None,
 
50
 
51
 
52
  final_answer = FinalAnswerTool()
53
+ visit_web_page = VisitWebpageTool()
54
 
55
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
56
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
 
71
 
72
  agent = CodeAgent(
73
  model=model,
74
+ tools=[visit_web_page,get_web_search,final_answer], ## add your tools here (don't remove final answer)
75
  max_steps=6,
76
  verbosity_level=1,
77
  grammar=None,