matt pagett commited on
Commit
f6000bc
·
verified ·
1 Parent(s): 75245b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
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