Jonathan Grizou commited on
Commit
7f7186f
·
1 Parent(s): 5b32b3f
Files changed (1) hide show
  1. app.py +3 -4
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
- #Keep this format for the description / args / args description but feel free to modify the tool
14
- """A tool that does nothing yet
15
  Args:
16
- arg1: the first argument
17
- arg2: the second argument
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