Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
24 |
|
25 |
@tool
|
26 |
def get_current_time_in_timezone(timezone: str) -> str:
|
27 |
-
"""A tool that fetches the current local time in a specified timezone.
|
28 |
Args:
|
29 |
timezone: A string representing a valid timezone (e.g., 'America/New_York').
|
30 |
"""
|
|
|
24 |
|
25 |
@tool
|
26 |
def get_current_time_in_timezone(timezone: str) -> str:
|
27 |
+
"""A tool that fetches the current local time in a specified timezone. Return a string of the format: f"The current local time in {timezone} is: {local_time}"
|
28 |
Args:
|
29 |
timezone: A string representing a valid timezone (e.g., 'America/New_York').
|
30 |
"""
|