pgpt19 commited on
Commit
f0e8fc2
·
verified ·
1 Parent(s): f04c553

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -34,7 +34,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
34
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
35
 
36
  @tool
37
- def multiply_numbers(num1: int, num2: int) -> intt:
38
  """
39
  Multiplies two integers and returns the result.
40
 
@@ -56,11 +56,11 @@ def multiply_numbers(num1: int, num2: int) -> intt:
56
 
57
  Example:
58
  -------
59
- >>> multiply(3, 4)
60
  12
61
  """
62
  try:
63
- result = num1 * num2
64
  return result
65
  except Exception as e:
66
  raise ValueError(f"An error occurred during multiplication: {e}")
 
34
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
35
 
36
  @tool
37
+ def multiply_numbers(a: int, b: int) -> intt:
38
  """
39
  Multiplies two integers and returns the result.
40
 
 
56
 
57
  Example:
58
  -------
59
+ >>> multiply_numbers(3, 4)
60
  12
61
  """
62
  try:
63
+ result = a * b
64
  return result
65
  except Exception as e:
66
  raise ValueError(f"An error occurred during multiplication: {e}")