magdap116 commited on
Commit
90a10f9
·
verified ·
1 Parent(s): 69a7cc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -21,7 +21,14 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
21
 
22
  cache = {}
23
 
24
- web_search = DuckDuckGoSearchTool()
 
 
 
 
 
 
 
25
  google_search = GoogleSearchTool(provider="serper")
26
  python_interpreter = PythonInterpreterTool(authorized_imports = [
27
  # standard library
 
21
 
22
  cache = {}
23
 
24
+ web_search = DuckDuckGoSearchTool(name)
25
+
26
+ web_search = Tool(
27
+ name="duck_duck_go_search",
28
+ func=DuckDuckGoSearch().run,
29
+ description="Use this tool to search the web using DuckDuckGo."
30
+ )
31
+
32
  google_search = GoogleSearchTool(provider="serper")
33
  python_interpreter = PythonInterpreterTool(authorized_imports = [
34
  # standard library