Cankan commited on
Commit
19c033f
·
verified ·
1 Parent(s): eb31f6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -50,7 +50,6 @@ model = InferenceClientModel(
50
 
51
  # Import tool from Hub (image generation) and set up web search
52
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
53
- web_search_tool = DuckDuckGoSearchTool()
54
 
55
  # Load system prompts
56
  with open("prompts.yaml", "r") as stream:
@@ -64,7 +63,6 @@ agent = CodeAgent(
64
  my_custom_tool, # your converter
65
  get_current_time_in_timezone,
66
  image_generation_tool, # HF Hub tool
67
- web_search_tool, # web search
68
  ],
69
  max_steps=6,
70
  verbosity_level=1,
 
50
 
51
  # Import tool from Hub (image generation) and set up web search
52
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
 
53
 
54
  # Load system prompts
55
  with open("prompts.yaml", "r") as stream:
 
63
  my_custom_tool, # your converter
64
  get_current_time_in_timezone,
65
  image_generation_tool, # HF Hub tool
 
66
  ],
67
  max_steps=6,
68
  verbosity_level=1,