beenlanced commited on
Commit
8de9255
·
verified ·
1 Parent(s): 0f9c5db

Update app.py

Browse files

Fixing typo in docstring

Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -18,13 +18,12 @@ 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
- # Below is an example of a tool that does nothing. Amaze us with your creativity !
22
  @tool
23
  def get_feel_good_msg(need_feel_good_msg:bool)-> str:
24
  #Keep this format for the description / args / args description but feel free to modify the tool
25
  """A tool that does nothing yet
26
  Args:
27
- need_feel_godd_msg: A boolean that says deliver a feel good message
28
  """
29
  if need_feel_good_msg:
30
  return "Cheer up. It is always darkest before the dawn"
 
18
  """
19
  return "What magic will you build ?"
20
 
 
21
  @tool
22
  def get_feel_good_msg(need_feel_good_msg:bool)-> str:
23
  #Keep this format for the description / args / args description but feel free to modify the tool
24
  """A tool that does nothing yet
25
  Args:
26
+ need_feel_good_msg: A boolean that says deliver a feel good message
27
  """
28
  if need_feel_good_msg:
29
  return "Cheer up. It is always darkest before the dawn"