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