green commited on
Commit
264654c
1 Parent(s): 8feacb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -233,7 +233,7 @@ choices.insert(0,'None')
233
  st.sidebar.subheader("Topics")
234
  show_clusters = {i:len(clusters[i]) for i in clusters.keys()}
235
  cdf = pd.DataFrame(data={"Articles":list(show_clusters.values()), "Cluster":list(show_clusters.keys())} )
236
- styler = df.style.hide_index()
237
  st.write(styler.to_html(), unsafe_allow_html=True)
238
 
239
  #st.write(df.to_html(index=False), unsafe_allow_html=True)
 
233
  st.sidebar.subheader("Topics")
234
  show_clusters = {i:len(clusters[i]) for i in clusters.keys()}
235
  cdf = pd.DataFrame(data={"Articles":list(show_clusters.values()), "Cluster":list(show_clusters.keys())} )
236
+ styler = cdf.style.hide_index()
237
  st.write(styler.to_html(), unsafe_allow_html=True)
238
 
239
  #st.write(df.to_html(index=False), unsafe_allow_html=True)