Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
| 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
|