Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ if n_samples > 0:
|
|
59 |
index_example = st.number_input(f"Found {len(files)} files in the cluster, choose one", min_value=0, max_value=len(files)-1, value=0, step=1)
|
60 |
|
61 |
sample = files[index_example]
|
62 |
-
st.markdown(f"**Educational score of the cluster**: {
|
63 |
st.markdown(sample)
|
64 |
else:
|
65 |
st.markdown("No files found, change the cluster.")
|
|
|
59 |
index_example = st.number_input(f"Found {len(files)} files in the cluster, choose one", min_value=0, max_value=len(files)-1, value=0, step=1)
|
60 |
|
61 |
sample = files[index_example]
|
62 |
+
st.markdown(f"**Educational score of the cluster**: {selected_cluster[index_cluster]['educational_score']}")
|
63 |
st.markdown(sample)
|
64 |
else:
|
65 |
st.markdown("No files found, change the cluster.")
|