Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,9 +15,9 @@ 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 |
-
|
| 19 |
|
| 20 |
-
result =
|
| 21 |
return result
|
| 22 |
|
| 23 |
@tool
|
|
|
|
| 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
|
| 22 |
|
| 23 |
@tool
|