Spaces:
Sleeping
Sleeping
matt pagett
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,6 +21,16 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 21 |
|
| 22 |
@tool
|
| 23 |
def calculator(a: int, b: int) -> int:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
"""Multiply two integers."""
|
| 25 |
return a * b
|
| 26 |
|
|
|
|
| 21 |
|
| 22 |
@tool
|
| 23 |
def calculator(a: int, b: int) -> int:
|
| 24 |
+
"""
|
| 25 |
+
Performs calculation on two numbers.
|
| 26 |
+
|
| 27 |
+
Args:
|
| 28 |
+
a: The first number
|
| 29 |
+
b: The second number
|
| 30 |
+
|
| 31 |
+
Returns:
|
| 32 |
+
The result of the calculation
|
| 33 |
+
"""
|
| 34 |
"""Multiply two integers."""
|
| 35 |
return a * b
|
| 36 |
|