Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,13 +28,10 @@ from Gradio_UI import GradioUI
|
|
| 28 |
def get_current_time_in_timezone(timezone: str): str
|
| 29 |
|
| 30 |
"""
|
| 31 |
-
Args1:
|
| 32 |
-
|
| 33 |
-
Args2:
|
| 34 |
-
timezone: A string representing a valid timezone (e.g., 'America/New_York')
|
| 35 |
|
| 36 |
-
|
| 37 |
-
The current local time in the string format %Y-%m-%d %H:%M:%S (e.g., '2015-09-14 04:20:00')
|
| 38 |
"""
|
| 39 |
try:
|
| 40 |
# Create timezone object
|
|
|
|
| 28 |
def get_current_time_in_timezone(timezone: str): str
|
| 29 |
|
| 30 |
"""
|
| 31 |
+
Args1: A tool that fetches the current local time in a specified timezone.
|
| 32 |
+
Args2: timezone: A string representing a valid timezone (e.g., 'America/New_York')
|
|
|
|
|
|
|
| 33 |
|
| 34 |
+
Output: The current local time in the string format %Y-%m-%d %H:%M:%S (e.g., '2015-09-14 04:20:00')
|
|
|
|
| 35 |
"""
|
| 36 |
try:
|
| 37 |
# Create timezone object
|