Spaces:
Sleeping
Sleeping
update tool
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def my_search_tool(query:str)-> str: #it's import to specify the return type
|
|
18 |
try:
|
19 |
search_tool = DuckDuckGoSearchTool()
|
20 |
|
21 |
-
return search_tool
|
22 |
|
23 |
except Exception as e:
|
24 |
return f"Error fetching response for '{query}': {str(e)}"
|
|
|
18 |
try:
|
19 |
search_tool = DuckDuckGoSearchTool()
|
20 |
|
21 |
+
return search_tool
|
22 |
|
23 |
except Exception as e:
|
24 |
return f"Error fetching response for '{query}': {str(e)}"
|