Spaces:
Sleeping
Sleeping
add docstring
Browse files
app.py
CHANGED
|
@@ -20,7 +20,11 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def calculator(a: int, b: int) -> int:
|
| 23 |
-
"""Multiply two integers.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
return a * b
|
| 25 |
|
| 26 |
|
|
|
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def calculator(a: int, b: int) -> int:
|
| 23 |
+
"""Multiply two integers.
|
| 24 |
+
Args:
|
| 25 |
+
a: first integer to multiply
|
| 26 |
+
b: second integer to multiply
|
| 27 |
+
"""
|
| 28 |
return a * b
|
| 29 |
|
| 30 |
|