Edenbaba commited on
Commit
2e3e52a
·
verified ·
1 Parent(s): 2146d7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -102,7 +102,7 @@ class SuperheroPartyThemeTool(Tool):
102
  final_answer = FinalAnswerTool()
103
  web_search = DuckDuckGoSearchTool()
104
  visit_webpage = VisitWebpageTool()
105
- # googl_search = GoogleSearchTool()
106
 
107
  # 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:
108
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
@@ -125,7 +125,7 @@ with open("prompts.yaml", 'r') as stream:
125
 
126
  agent = CodeAgent(
127
  model=model,
128
- tools=[final_answer, image_generation_tool, my_custom_tool, get_current_time_in_timezone, web_search, visit_webpage,
129
  suggest_menu, catering_service_tool, SuperheroPartyThemeTool()], ## add your tools here (don't remove final answer)
130
  max_steps=10,
131
  verbosity_level=1,
 
102
  final_answer = FinalAnswerTool()
103
  web_search = DuckDuckGoSearchTool()
104
  visit_webpage = VisitWebpageTool()
105
+ google_search = GoogleSearchTool()
106
 
107
  # 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:
108
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
 
125
 
126
  agent = CodeAgent(
127
  model=model,
128
+ tools=[final_answer, image_generation_tool, my_custom_tool, get_current_time_in_timezone, web_search, visit_webpage, google_search,
129
  suggest_menu, catering_service_tool, SuperheroPartyThemeTool()], ## add your tools here (don't remove final answer)
130
  max_steps=10,
131
  verbosity_level=1,