Baseer1432 commited on
Commit
937e629
·
verified ·
1 Parent(s): 29dbcc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def my_custom_tool(arg1:int, arg2:int)-> int: #it's import to specify the return
19
 
20
  return arg1*arg2
21
  except Exception as ee:
22
- return f"Error fetching result {str(ee)}"
23
  @tool
24
  def get_current_time_in_timezone(timezone: str) -> str:
25
  """A tool that fetches the current local time in a specified timezone.
 
19
 
20
  return arg1*arg2
21
  except Exception as ee:
22
+ return f"Error fetching result '{arg1}': {str(ee)}"
23
  @tool
24
  def get_current_time_in_timezone(timezone: str) -> str:
25
  """A tool that fetches the current local time in a specified timezone.