Edenbaba commited on
Commit
fae118f
·
verified ·
1 Parent(s): 7257c4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -110,7 +110,7 @@ image_generation_tool2 = Tool.from_space(
110
  final_answer = FinalAnswerTool()
111
  web_search = DuckDuckGoSearchTool()
112
  visit_webpage = VisitWebpageTool()
113
- google_search_tool = GoogleSearchTool()
114
  python_tool = PythonInterpreterTool()
115
 
116
  # 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:
@@ -130,7 +130,8 @@ with open("prompts.yaml", 'r') as stream:
130
 
131
  agent = CodeAgent(
132
  model=model,
133
- tools=[final_answer, image_generation_tool, my_custom_tool, get_current_time_in_timezone, web_search, visit_webpage, python_tool, image_generation_tool2,
 
134
  suggest_menu, catering_service_tool, SuperheroPartyThemeTool()], ## add your tools here (don't remove final answer)
135
  max_steps=10,
136
  verbosity_level=1,
 
110
  final_answer = FinalAnswerTool()
111
  web_search = DuckDuckGoSearchTool()
112
  visit_webpage = VisitWebpageTool()
113
+ # google_search_tool = GoogleSearchTool()
114
  python_tool = PythonInterpreterTool()
115
 
116
  # 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:
 
130
 
131
  agent = CodeAgent(
132
  model=model,
133
+ tools=[final_answer, my_custom_tool, get_current_time_in_timezone, web_search, visit_webpage,
134
+ python_tool, image_generation_tool, image_generation_tool2,
135
  suggest_menu, catering_service_tool, SuperheroPartyThemeTool()], ## add your tools here (don't remove final answer)
136
  max_steps=10,
137
  verbosity_level=1,