Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def my_custom_tool(arg1:srt, arg2:int)-> str: #it's import to specify the return
|
|
16 |
arg1: the first argument
|
17 |
arg2: the second argument
|
18 |
"""
|
19 |
-
|
20 |
@tool
|
21 |
def get_current_time_in_timezone(timezone: str) -> str:
|
22 |
"""A tool that fetches the current local time in a specified timezone.
|
|
|
16 |
arg1: the first argument
|
17 |
arg2: the second argument
|
18 |
"""
|
19 |
+
return (f'{arg2},{arg1}')
|
20 |
@tool
|
21 |
def get_current_time_in_timezone(timezone: str) -> str:
|
22 |
"""A tool that fetches the current local time in a specified timezone.
|