Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,10 +10,8 @@ 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 countries_with_same_current_offset(timezone : str, return_country_names : bool = True) -> str:
|
13 |
-
"""
|
14 |
-
|
15 |
-
as the given timezone_name.
|
16 |
-
Args :
|
17 |
timezone: A string representing a valid timezone (e.g., 'America/New_York').
|
18 |
return_country_names: If True, return a list of country names; If False, return ISO country codes.
|
19 |
|
|
|
10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
11 |
@tool
|
12 |
def countries_with_same_current_offset(timezone : str, return_country_names : bool = True) -> str:
|
13 |
+
"""A tool that fetches a list of all countries that have the same current UTC offset as the given timezone_name.
|
14 |
+
Args:
|
|
|
|
|
15 |
timezone: A string representing a valid timezone (e.g., 'America/New_York').
|
16 |
return_country_names: If True, return a list of country names; If False, return ISO country codes.
|
17 |
|