Da-Rabbit-Hole commited on
Commit
57b3104
·
verified ·
1 Parent(s): 8d79ec6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,13 +25,13 @@ from Gradio_UI import GradioUI
25
  # # return
26
 
27
  @tool
28
- def get_current_time_in_timezone(timezone: str):
29
 
30
  """A tool that fetches the current local time in a specified timezone.
31
  Args:
32
  timezone: A string representing a valid timezone (e.g., 'America/New_York')
33
 
34
- Returns: 22.0
35
  The current local time in the string format %Y-%m-%d %H:%M:%S (e.g., '2015-09-14 04:20:00')
36
  """
37
  try:
 
25
  # # return
26
 
27
  @tool
28
+ def get_current_time_in_timezone(timezone: str): str
29
 
30
  """A tool that fetches the current local time in a specified timezone.
31
  Args:
32
  timezone: A string representing a valid timezone (e.g., 'America/New_York')
33
 
34
+ Returns:
35
  The current local time in the string format %Y-%m-%d %H:%M:%S (e.g., '2015-09-14 04:20:00')
36
  """
37
  try: