Update app.py
Browse files
app.py
CHANGED
@@ -24,9 +24,9 @@ def load_data(min_score=1, max_score=10):
|
|
24 |
st.subheader("Cluster information")
|
25 |
min_score, max_score = st.columns(2)
|
26 |
with min_score:
|
27 |
-
min_value = st.slider('Select minimum educational score', 1, 10, 1)
|
28 |
with max_score:
|
29 |
-
max_value = st.slider('Select maximum educational score', 1, 10, 10)
|
30 |
|
31 |
ds = load_data(min_score, max_score)
|
32 |
selected_category_type = st.selectbox("Select a topic", categories)
|
|
|
24 |
st.subheader("Cluster information")
|
25 |
min_score, max_score = st.columns(2)
|
26 |
with min_score:
|
27 |
+
min_value = st.slider('Select minimum educational score', 1, 10, 1, key='min_score')
|
28 |
with max_score:
|
29 |
+
max_value = st.slider('Select maximum educational score', 1, 10, 10, key='max_score')
|
30 |
|
31 |
ds = load_data(min_score, max_score)
|
32 |
selected_category_type = st.selectbox("Select a topic", categories)
|