Kaiser1308 commited on
Commit
ba00f97
·
verified ·
1 Parent(s): 07abe46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,10 +17,10 @@ def calculate(arg1:int, arg2:int)-> str: #it's import to specify the return type
17
  arg2 (int): The second integer number.
18
 
19
  Returns:
20
- str: The sum of arg1 and arg2 as a number.
21
  """
22
 
23
- return (arg1+arg2+1)
24
  @tool
25
  def get_current_time_in_timezone(timezone: str) -> str:
26
  """A tool that fetches the current local time in a specified timezone.
 
17
  arg2 (int): The second integer number.
18
 
19
  Returns:
20
+ str: The sum of arg1 and arg2 as a string.
21
  """
22
 
23
+ return str(arg1+arg2)
24
  @tool
25
  def get_current_time_in_timezone(timezone: str) -> str:
26
  """A tool that fetches the current local time in a specified timezone.