Spaces:
Sleeping
Sleeping
abelluque
commited on
Commit
·
6a5270d
1
Parent(s):
a44827b
fix tool description
Browse files
app.py
CHANGED
|
@@ -12,8 +12,8 @@ from Gradio_UI import GradioUI
|
|
| 12 |
def my_custom_tool(location: str, utc_offset: int) -> str:
|
| 13 |
""" Generates relevant information about a given location's timezone, including possible timezones and major cities.
|
| 14 |
Args:
|
| 15 |
-
location
|
| 16 |
-
utc_offset
|
| 17 |
Returns:
|
| 18 |
str: A message listing possible timezones and major cities for the given UTC offset.
|
| 19 |
"""
|
|
|
|
| 12 |
def my_custom_tool(location: str, utc_offset: int) -> str:
|
| 13 |
""" Generates relevant information about a given location's timezone, including possible timezones and major cities.
|
| 14 |
Args:
|
| 15 |
+
location: The name of the location to look up (e.g., 'America/New_York').
|
| 16 |
+
utc_offset: The UTC offset in hours to search for matching timezones.
|
| 17 |
Returns:
|
| 18 |
str: A message listing possible timezones and major cities for the given UTC offset.
|
| 19 |
"""
|