taha454 commited on
Commit
3ec6f24
·
verified ·
1 Parent(s): 3a7e526

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,11 +9,11 @@ from Gradio_UI import GradioUI
9
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
- def sort(*args:float)-> 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 take any number of arg and return it sorted
15
  Args:
16
- *args : any number of numbers
17
  """
18
  return str(sorted(args))
19
 
 
9
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
+ def sort(lis_:list)-> 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 take any number of arg and return it sorted
15
  Args:
16
+ lis_ : list of numbers to be sorted
17
  """
18
  return str(sorted(args))
19