gokceKy commited on
Commit
76fe2d5
·
verified ·
1 Parent(s): e91fe43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ from Gradio_UI import GradioUI
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
  def calculator(arg1: int, arg2: str, arg3: int) -> int:
13
- """
14
  A simple calculator that performs basic arithmetic operations.
15
 
16
  Args:
@@ -23,7 +23,7 @@ def calculator(arg1: int, arg2: str, arg3: int) -> int:
23
 
24
  Raises:
25
  ValueError: If an invalid operator is provided.
26
- """
27
  if arg2 == "+":
28
  return arg1 + arg3
29
  elif arg2 == "-":
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
  @tool
12
  def calculator(arg1: int, arg2: str, arg3: int) -> int:
13
+ '''
14
  A simple calculator that performs basic arithmetic operations.
15
 
16
  Args:
 
23
 
24
  Raises:
25
  ValueError: If an invalid operator is provided.
26
+ '''
27
  if arg2 == "+":
28
  return arg1 + arg3
29
  elif arg2 == "-":