Spaces:
Running
Running
Update app.py
#5
by
safia-8
- opened
app.py
CHANGED
@@ -15,7 +15,9 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
15 |
arg1: the first argument
|
16 |
arg2: the second argument
|
17 |
"""
|
18 |
-
|
|
|
|
|
19 |
|
20 |
@tool
|
21 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
15 |
arg1: the first argument
|
16 |
arg2: the second argument
|
17 |
"""
|
18 |
+
search=DuckDuckGoSearchTool()
|
19 |
+
results=search.run(arg1)
|
20 |
+
return results
|
21 |
|
22 |
@tool
|
23 |
def get_current_time_in_timezone(timezone: str) -> str:
|