Update app.py
Browse files
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 =
|
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)
|