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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -18,8 +18,7 @@ def my_custom_tool(arg1:int, arg2:int)-> int: #it's import to specify the return
18
  """
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.
 
18
  """
19
 
20
  return arg1*arg2
21
+
 
22
  @tool
23
  def get_current_time_in_timezone(timezone: str) -> str:
24
  """A tool that fetches the current local time in a specified timezone.