Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ def convert_time_only(time_str: str, from_tz_str: str, to_tz_str: str) -> str:
|
|
| 41 |
to_tz = pytz.timezone(to_tz_str)
|
| 42 |
target_dt = localized_dt.astimezone(to_tz)
|
| 43 |
|
| 44 |
-
return target_dt.strftime(fmt)
|
| 45 |
|
| 46 |
@tool
|
| 47 |
def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
|
|
|
|
| 41 |
to_tz = pytz.timezone(to_tz_str)
|
| 42 |
target_dt = localized_dt.astimezone(to_tz)
|
| 43 |
|
| 44 |
+
return target_dt.strftime(fmt)
|
| 45 |
|
| 46 |
@tool
|
| 47 |
def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
|