Gas96 commited on
Commit
c9b618a
·
verified ·
1 Parent(s): 2cc667d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -25,10 +25,12 @@ def get_current_time_in_timezone(timezone: str) -> str:
25
 
26
  #Following my creation.
27
  @tool
28
- def fibonacci(n: int) -> str:
29
  """Returns the Fibonacci series up to the nth number.
30
  Args:
31
  n: An integer number to indicate after how many numbers the fibonacci series should stop"""
 
 
32
  try:
33
  # Initialize the Fibonacci sequence
34
  fib_sequence = [0, 1]
 
25
 
26
  #Following my creation.
27
  @tool
28
+ def fibonacci(n: str) -> str:
29
  """Returns the Fibonacci series up to the nth number.
30
  Args:
31
  n: An integer number to indicate after how many numbers the fibonacci series should stop"""
32
+
33
+ n=int(n)
34
  try:
35
  # Initialize the Fibonacci sequence
36
  fib_sequence = [0, 1]