david-clifford commited on
Commit
b7f38c5
·
verified ·
1 Parent(s): 217a4b1

Add web search with DuckDuckGoSearchTool

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ final_answer = FinalAnswerTool()
64
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True) ## https://huggingface.co/spaces/agents-course/text-to-image
65
 
66
  # Create a list of the tools available to the agent - (don't remove final answer)
67
- tool_list = [final_answer, get_current_time_in_timezone, image_generation_tool, toss_a_die, available_tools]
68
 
69
  MODEL_IDS = [
70
  #'https://wxknx1kg971u7k1n.us-east-1.aws.endpoints.huggingface.cloud/',
 
64
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True) ## https://huggingface.co/spaces/agents-course/text-to-image
65
 
66
  # Create a list of the tools available to the agent - (don't remove final answer)
67
+ tool_list = [final_answer, get_current_time_in_timezone, image_generation_tool, toss_a_die, available_tools, DuckDuckGoSearchTool]
68
 
69
  MODEL_IDS = [
70
  #'https://wxknx1kg971u7k1n.us-east-1.aws.endpoints.huggingface.cloud/',