Spaces:
Sleeping
Sleeping
Update app.py
Browse filesfunction name change
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
|
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.
|