attilabalint commited on
Commit
8ece9c5
·
1 Parent(s): 60bd8ab

set max value for history

Browse files
Files changed (1) hide show
  1. 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=1000,
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
  )