Spaces:
Sleeping
Sleeping
fix
Browse files
app.py
CHANGED
|
@@ -15,9 +15,9 @@ def web_search_tool(searchContent:str)-> str: #it's import to specify the return
|
|
| 15 |
Args:
|
| 16 |
searchContent: which keyword will be searched
|
| 17 |
"""
|
| 18 |
-
results = DuckDuckGoSearchTool(max_results=5, rate_limit=2.0
|
| 19 |
|
| 20 |
-
return results
|
| 21 |
|
| 22 |
@tool
|
| 23 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 15 |
Args:
|
| 16 |
searchContent: which keyword will be searched
|
| 17 |
"""
|
| 18 |
+
results = DuckDuckGoSearchTool(max_results=5, rate_limit=2.0)
|
| 19 |
|
| 20 |
+
return results(searchContent)
|
| 21 |
|
| 22 |
@tool
|
| 23 |
def get_current_time_in_timezone(timezone: str) -> str:
|