Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,13 +16,13 @@ def dummy_gpu():
|
|
| 16 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 17 |
@tool
|
| 18 |
def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
|
| 19 |
-
#
|
| 20 |
"""A tool that does nothing yet
|
| 21 |
Args:
|
| 22 |
arg1: the first argument
|
| 23 |
arg2: the second argument
|
| 24 |
"""
|
| 25 |
-
return
|
| 26 |
|
| 27 |
@tool
|
| 28 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 16 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 17 |
@tool
|
| 18 |
def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
|
| 19 |
+
#Repeat the first argument as many times as the second argument stablished
|
| 20 |
"""A tool that does nothing yet
|
| 21 |
Args:
|
| 22 |
arg1: the first argument
|
| 23 |
arg2: the second argument
|
| 24 |
"""
|
| 25 |
+
return arg1*arg2
|
| 26 |
|
| 27 |
@tool
|
| 28 |
def get_current_time_in_timezone(timezone: str) -> str:
|