Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,13 +9,14 @@ 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(lis_:list)->
|
| 13 |
-
|
| 14 |
-
|
| 15 |
Args:
|
| 16 |
-
lis_ : list of numbers to be sorted
|
| 17 |
"""
|
| 18 |
-
return
|
|
|
|
| 19 |
|
| 20 |
@tool
|
| 21 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 9 |
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
+
def sort(lis_: list[float]) -> list[float]:
|
| 13 |
+
"""A tool that takes a list of numbers and returns them sorted.
|
| 14 |
+
|
| 15 |
Args:
|
| 16 |
+
lis_ (float): list of numbers to be sorted
|
| 17 |
"""
|
| 18 |
+
return sorted(lis_)
|
| 19 |
+
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def get_current_time_in_timezone(timezone: str) -> str:
|