green commited on
Commit
e19bd60
·
1 Parent(s): 4fb9800

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -233,8 +233,8 @@ choices.insert(0,'None')
233
  st.sidebar.subheader("Topics")
234
  show_clusters = list(clusters.items())
235
  show_clusters.sort(key=lambda x: len(x[1]))
236
- for i in list(clusters.keys()):
237
- st.sidebar.write(f"{i} : {len(clusters[i])}")
238
 
239
  st.session_state['dt'] = dt.now()
240
  # Form used to take 3 menu inputs
 
233
  st.sidebar.subheader("Topics")
234
  show_clusters = list(clusters.items())
235
  show_clusters.sort(key=lambda x: len(x[1]))
236
+ for i in show_clusters:
237
+ st.sidebar.write(f"{i[0]} : {len(i[1])}")
238
 
239
  st.session_state['dt'] = dt.now()
240
  # Form used to take 3 menu inputs