Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|
| 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]
|