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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -232,7 +232,7 @@ choices.insert(0,'None')
232
 
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
 
 
232
 
233
  st.sidebar.subheader("Topics")
234
  show_clusters = list(clusters.items())
235
+ show_clusters.sort(key=lambda x: len(x[1]), reverse=True)
236
  for i in show_clusters:
237
  st.sidebar.write(f"{i[0]} : {len(i[1])}")
238