attilabalint
commited on
Commit
·
8ece9c5
1
Parent(s):
60bd8ab
set max value for history
Browse files- components.py +1 -1
components.py
CHANGED
|
@@ -41,7 +41,7 @@ def buildings_view(data):
|
|
| 41 |
help="Available training data during the first prediction.",
|
| 42 |
format="%f",
|
| 43 |
min_value=0,
|
| 44 |
-
max_value=
|
| 45 |
),
|
| 46 |
},
|
| 47 |
)
|
|
|
|
| 41 |
help="Available training data during the first prediction.",
|
| 42 |
format="%f",
|
| 43 |
min_value=0,
|
| 44 |
+
max_value=float(buildings['Available history (days)'].max()),
|
| 45 |
),
|
| 46 |
},
|
| 47 |
)
|