Spaces:
Sleeping
Sleeping
Jonathan Grizou
commited on
Commit
·
7f7186f
1
Parent(s):
5b32b3f
testing
Browse files
app.py
CHANGED
@@ -10,11 +10,10 @@ from Gradio_UI import GradioUI
|
|
10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
11 |
@tool
|
12 |
def eat_pizza(arg1:str, arg2:int)-> str: #it's import to specify the return type
|
13 |
-
|
14 |
-
"""A tool that does nothing yet
|
15 |
Args:
|
16 |
-
arg1: the
|
17 |
-
arg2: the
|
18 |
"""
|
19 |
return f"You ate {arg2} {arg1}!"
|
20 |
|
|
|
10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
11 |
@tool
|
12 |
def eat_pizza(arg1:str, arg2:int)-> str: #it's import to specify the return type
|
13 |
+
"""A tool that help you eat pizza
|
|
|
14 |
Args:
|
15 |
+
arg1: the pizza type, e.g. "pepperoni"
|
16 |
+
arg2: the number of pizza slices, e.g. 1
|
17 |
"""
|
18 |
return f"You ate {arg2} {arg1}!"
|
19 |
|