Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def calculate_discount_tool(product_name: str, discount_percent: int) -> str:
|
| 23 |
-
"""A tool that
|
| 24 |
Args:
|
| 25 |
product_name: name of the product
|
| 26 |
discount_percent: discount to apply in percentage
|
|
|
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def calculate_discount_tool(product_name: str, discount_percent: int) -> str:
|
| 23 |
+
"""A tool that calculate the discount on a product
|
| 24 |
Args:
|
| 25 |
product_name: name of the product
|
| 26 |
discount_percent: discount to apply in percentage
|