loubnabnl HF staff commited on
Commit
2858b59
·
verified ·
1 Parent(s): 9ed7f15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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**: {sample['educational_score']}")
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.")