LucMarcelPellinger commited on
Commit
ca9df66
·
verified ·
1 Parent(s): 1a40ad6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def my_custom_tool(arg1:int, arg2:int)-> str: #it's import to specify the return
23
  return f"the result is {a}"
24
 
25
  @tool
26
- def todays_useless_fact(input_time: datetime | str) -> str:
27
  """Fetches today's useless fact from an external public API.
28
  Args:
29
  date: the datetime value for the specified time zone retrieved from get_current_time_in_timezone.
 
23
  return f"the result is {a}"
24
 
25
  @tool
26
+ def todays_useless_fact(input_time: str) -> str:
27
  """Fetches today's useless fact from an external public API.
28
  Args:
29
  date: the datetime value for the specified time zone retrieved from get_current_time_in_timezone.