jpereyra182 commited on
Commit
ae55238
·
verified ·
1 Parent(s): 7b502f4

type hint fix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
19
  return "What magic will you build ?"
20
 
21
  @tool
22
- def get_a_joke():
23
  """A tool to return a joke.
24
  """
25
  return "Why did the DevOps engineer break up with the cloud?,Because it kept throwing unexpected bills!😆"
 
19
  return "What magic will you build ?"
20
 
21
  @tool
22
+ def get_a_joke() -> str:
23
  """A tool to return a joke.
24
  """
25
  return "Why did the DevOps engineer break up with the cloud?,Because it kept throwing unexpected bills!😆"