caput commited on
Commit
73ec286
·
verified ·
1 Parent(s): 265ea14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -33,6 +33,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
33
  except Exception as e:
34
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
35
 
 
36
  def get_temperature(location: str) -> str:
37
  """A tool that fetches the current temperature in a specified location.
38
  Args:
 
33
  except Exception as e:
34
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
35
 
36
+ @tool
37
  def get_temperature(location: str) -> str:
38
  """A tool that fetches the current temperature in a specified location.
39
  Args: