grungyfeline998 commited on
Commit
2de45bf
·
verified ·
1 Parent(s): ced2534

Update app.py

Browse files

updated multiplication tool

Files changed (1) hide show
  1. app.py +3 -6
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 Multiplied 2 integer numbers
15
  Args:
16
- a (int): The first integer.
17
- b (int): The second integer.
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