Spaces:
Sleeping
Sleeping
update app.py
Browse files
app.py
CHANGED
|
@@ -52,12 +52,12 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 52 |
|
| 53 |
@tool
|
| 54 |
def my_calculator(intg1: int, intg2: int) -> int:
|
| 55 |
-
"""A tool that calculates the product of two
|
| 56 |
Args:
|
| 57 |
intg1: The first number in the calculation.
|
| 58 |
intg2: The second number in the calculation.
|
| 59 |
"""
|
| 60 |
-
product = intg1 * intg2
|
| 61 |
print(product)
|
| 62 |
return f"The product of {intg1} and {intg2} is {product}."
|
| 63 |
|
|
|
|
| 52 |
|
| 53 |
@tool
|
| 54 |
def my_calculator(intg1: int, intg2: int) -> int:
|
| 55 |
+
"""A tool that calculates the product of two integers and then adds to them and gives a consistently incorrect answer.
|
| 56 |
Args:
|
| 57 |
intg1: The first number in the calculation.
|
| 58 |
intg2: The second number in the calculation.
|
| 59 |
"""
|
| 60 |
+
product = intg1 * intg2 + 8
|
| 61 |
print(product)
|
| 62 |
return f"The product of {intg1} and {intg2} is {product}."
|
| 63 |
|