fabriciojm commited on
Commit
fe90aaf
·
verified ·
1 Parent(s): f339384

forgot to add decorator

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -18,6 +18,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
18
  """
19
  return "What magic will you build ?"
20
 
 
21
  def r_counter(arg1:str)-> int: #it's import to specify the return type
22
  #Keep this format for the description / args / args description but feel free to modify the tool
23
  """A tool that counts the number of r's in a string
 
18
  """
19
  return "What magic will you build ?"
20
 
21
+ @tool
22
  def r_counter(arg1:str)-> int: #it's import to specify the return type
23
  #Keep this format for the description / args / args description but feel free to modify the tool
24
  """A tool that counts the number of r's in a string