Spaces:
Sleeping
Sleeping
update tool
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def my_search_tool(query:str)-> str: #it's import to specify the return type
|
|
16 |
query: the user query
|
17 |
"""
|
18 |
try:
|
19 |
-
search_tool = DuckDuckGoSearchTool()
|
20 |
|
21 |
return search_tool
|
22 |
|
|
|
16 |
query: the user query
|
17 |
"""
|
18 |
try:
|
19 |
+
search_tool = DuckDuckGoSearchTool(query)
|
20 |
|
21 |
return search_tool
|
22 |
|