nikhilkomakula commited on
Commit
5034f8e
·
verified ·
1 Parent(s): f6ca56d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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