Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ with min_score:
|
|
28 |
with max_score:
|
29 |
max_value = st.slider('Select maximum educational score', 1, 10, 10)
|
30 |
|
31 |
-
ds = load_data(
|
32 |
selected_category_type = st.selectbox("Select a topic", categories)
|
33 |
categories = list(set(ds["category"]))
|
34 |
selected_cluster = ds.filter(lambda x: x['category'] == selected_category)
|
|
|
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)
|
33 |
categories = list(set(ds["category"]))
|
34 |
selected_cluster = ds.filter(lambda x: x['category'] == selected_category)
|