Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,8 @@ def search_tool(arg1: str)-> str: #it's import to specify the return type
|
|
| 15 |
Args:
|
| 16 |
arg1: the first argument
|
| 17 |
"""
|
| 18 |
-
|
|
|
|
| 19 |
return response
|
| 20 |
|
| 21 |
@tool
|
|
|
|
| 15 |
Args:
|
| 16 |
arg1: the first argument
|
| 17 |
"""
|
| 18 |
+
search_tool = DuckDuckGoSearchTool()
|
| 19 |
+
response = search_tool(arg1=arg1)
|
| 20 |
return response
|
| 21 |
|
| 22 |
@tool
|