AkseliManninen commited on
Commit
2244dc1
·
verified ·
1 Parent(s): 644201d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def my_custom_tool(country: str)-> str: #it's import to specify the return type
15
  Args:
16
  country (str): The country for which to search information.
17
  """
18
- search_tool = DuckSearch()
19
 
20
  result = search_tool.run(f"What is the polulation of {country}?")
21
  return result
 
15
  Args:
16
  country (str): The country for which to search information.
17
  """
18
+ search_tool = DuckDuckGoSearchTool
19
 
20
  result = search_tool.run(f"What is the polulation of {country}?")
21
  return result