TonyRQC commited on
Commit
5e8113f
·
verified ·
1 Parent(s): c3a7458

Update app.py

Browse files

function name change

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 cat_dog_fight(cat_name:str, dog_name:str)-> str: #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
  """
25
  A tool that selects who wins in a fight between a cat and a dog based on the length of their names.
 
19
  return "What magic will you build ?"
20
 
21
  @tool
22
+ def get_winner_fight_cat_dog(cat_name:str, dog_name:str)-> str: #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
  """
25
  A tool that selects who wins in a fight between a cat and a dog based on the length of their names.