Spaces:
Sleeping
Sleeping
Commit
·
54d71cd
1
Parent(s):
a9ed539
fix string error
Browse files
app.py
CHANGED
@@ -35,7 +35,8 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
35 |
|
36 |
|
37 |
@tool
|
38 |
-
def fibonacci(n:
|
|
|
39 |
if n <= 0:
|
40 |
return "Input should be a positive integer."
|
41 |
elif n == 1:
|
|
|
35 |
|
36 |
|
37 |
@tool
|
38 |
+
def fibonacci(n: str) -> str:
|
39 |
+
n = int(n)
|
40 |
if n <= 0:
|
41 |
return "Input should be a positive integer."
|
42 |
elif n == 1:
|