Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,10 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def calculator(x:int, y:int)-> int:
|
| 23 |
-
"""Multiplies two numbers and returns the product
|
|
|
|
|
|
|
|
|
|
| 24 |
return(x*y)
|
| 25 |
|
| 26 |
@tool
|
|
|
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def calculator(x:int, y:int)-> int:
|
| 23 |
+
"""Multiplies two numbers and returns the product.
|
| 24 |
+
Args:
|
| 25 |
+
x: first number
|
| 26 |
+
y: second number"""
|
| 27 |
return(x*y)
|
| 28 |
|
| 29 |
@tool
|