jjunqueras commited on
Commit
b98308d
·
verified ·
1 Parent(s): 9b55002

Add DuckDuckGoSearchTool()

Browse files
Files changed (1) hide show
  1. tools.py +1 -3
tools.py CHANGED
@@ -3,10 +3,8 @@ from smolagents import Tool
3
  import random
4
  from huggingface_hub import list_models
5
 
6
-
7
  # Initialize the DuckDuckGo search tool
8
- #search_tool = DuckDuckGoSearchTool()
9
-
10
 
11
  class WeatherInfoTool(Tool):
12
  name = "weather_info"
 
3
  import random
4
  from huggingface_hub import list_models
5
 
 
6
  # Initialize the DuckDuckGo search tool
7
+ search_tool = DuckDuckGoSearchTool()
 
8
 
9
  class WeatherInfoTool(Tool):
10
  name = "weather_info"