Update app.py
Browse filesupdated multiplication tool
app.py
CHANGED
|
@@ -11,13 +11,10 @@ from Gradio_UI import GradioUI
|
|
| 11 |
@tool
|
| 12 |
def calculator_tool(a:int, b:int)-> int: #it's import to specify the return type
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
-
"""A tool that
|
| 15 |
Args:
|
| 16 |
-
a
|
| 17 |
-
b
|
| 18 |
-
|
| 19 |
-
Returns:
|
| 20 |
-
int: the product of the two integers
|
| 21 |
"""
|
| 22 |
return a * b
|
| 23 |
|
|
|
|
| 11 |
@tool
|
| 12 |
def calculator_tool(a:int, b:int)-> int: #it's import to specify the return type
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
+
"""A tool that gives the result of multiplication of two numbers
|
| 15 |
Args:
|
| 16 |
+
a: the first number
|
| 17 |
+
b: the second number
|
|
|
|
|
|
|
|
|
|
| 18 |
"""
|
| 19 |
return a * b
|
| 20 |
|