Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def my_custom_tool(country:str)-> str: #it's import to specify the return type
|
|
| 17 |
"""
|
| 18 |
search = DuckSearch()
|
| 19 |
|
| 20 |
-
result = search_tool.run(f"What is the polulation of {
|
| 21 |
return result
|
| 22 |
|
| 23 |
@tool
|
|
|
|
| 17 |
"""
|
| 18 |
search = DuckSearch()
|
| 19 |
|
| 20 |
+
result = search_tool.run(f"What is the polulation of {country}?")
|
| 21 |
return result
|
| 22 |
|
| 23 |
@tool
|