Spaces:
Sleeping
Sleeping
abelluque
commited on
Commit
·
a44827b
1
Parent(s):
39ec6cd
fix tool description
Browse files
app.py
CHANGED
|
@@ -10,13 +10,10 @@ from Gradio_UI import GradioUI
|
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
def my_custom_tool(location: str, utc_offset: int) -> str:
|
| 13 |
-
"""
|
| 14 |
-
Generates relevant information about a given location's timezone, including possible timezones and major cities.
|
| 15 |
-
|
| 16 |
Args:
|
| 17 |
location (str): The name of the location to look up.
|
| 18 |
utc_offset (int): The UTC offset in hours to search for matching timezones.
|
| 19 |
-
|
| 20 |
Returns:
|
| 21 |
str: A message listing possible timezones and major cities for the given UTC offset.
|
| 22 |
"""
|
|
|
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 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 (str): The name of the location to look up.
|
| 16 |
utc_offset (int): 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 |
"""
|