maxy1991991 commited on
Commit
b634037
·
verified ·
1 Parent(s): 4fd62ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -38,6 +38,13 @@ def get_current_time_in_timezone(timezone: str) -> str:
38
  except Exception as e:
39
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
40
 
 
 
 
 
 
 
 
41
 
42
  final_answer = FinalAnswerTool()
43
 
 
38
  except Exception as e:
39
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
40
 
41
+ @tool
42
+ def number_of_letters_in_strawberry()->str:
43
+ """A tool that returns the number of letters in strawberry
44
+ Args:
45
+ None
46
+ """
47
+ return ("The number of letters in strawberry is 5.")
48
 
49
  final_answer = FinalAnswerTool()
50