green commited on
Commit
9c89ceb
1 Parent(s): 9aae26a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -234,7 +234,8 @@ choices.insert(0,'None')
234
 
235
 
236
  # Display topics to user currently in sidebar - april 15 2022
237
- st.sidebar.subheader("Topics")
 
238
  show_clusters = {i:len(clusters[i]) for i in clusters.keys()}
239
  cdf = pd.DataFrame(data={"Cluster":list(show_clusters.keys()), "Articles":list(show_clusters.values())} ).sort_values(by='Articles', ascending=False)
240
  styler = cdf.style.hide_index()
 
234
 
235
 
236
  # Display topics to user currently in sidebar - april 15 2022
237
+ st.sidebar.subheader("Topics")
238
+ st.sidebar.write("Here are the current news topics and the number of articles whose headlines featured those topics.")
239
  show_clusters = {i:len(clusters[i]) for i in clusters.keys()}
240
  cdf = pd.DataFrame(data={"Cluster":list(show_clusters.keys()), "Articles":list(show_clusters.values())} ).sort_values(by='Articles', ascending=False)
241
  styler = cdf.style.hide_index()