green commited on
Commit
f62134a
1 Parent(s): e377b5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -179,17 +179,19 @@ article_dict, clusters = initialize(LIMIT, USE_CACHE)
179
  # For this its still streamlit.
180
 
181
 
182
- st.success(f"Welcome to TopicDig! \nYou select the topics, we summarize the relevant news and show you a digest, plus some info to help contextualize what the machine did. Enjoy, and remember, this software is experimental, and honestly may produce untrue summaries. \nFor more information on truthfulness and automatic summarization with transformers see TK.")
183
 
184
-
185
- st.write(f"""How it works: \nSelect 1 to 3 topics from the drop down menus and click 'submit' to start generating your summary!""")
186
 
187
  with st.expander("See extra options"):
 
188
  st.write("You may want to refresh the topic lists if the app loaded several hours ago or you get no summary.")
189
  # button to refresh topics
190
  if st.button("Refresh topics!"):
191
  article_dict, clusters = initialize(LIMIT, USE_CACHE)
192
- st.write("Select chunk size-- \nSmaller chunks means more of the article included in the summary and a longer digest.")
 
193
  chunk_size = st.select_slider(label="Slider", options=[i for i in range(50,801,50)], value=400)
194
 
195
  selections = []
 
179
  # For this its still streamlit.
180
 
181
 
182
+ st.success(f"Welcome to TopicDig! \nYou select the topics, we summarize the relevant news and show you a digest, plus some info to help contextualize what the machine did. \nEnjoy, and remember, this software is experimental, and honestly may produce untrue summaries. For more information on truthfulness and automatic summarization with transformers see TK.")
183
 
184
+ st.subheader(f"How it works:")
185
+ st.write(f"""Select 1 to 3 topics from the drop down menus and click 'submit' to start generating your summary!""")
186
 
187
  with st.expander("See extra options"):
188
+ st.subheader("Refresh topics: ")
189
  st.write("You may want to refresh the topic lists if the app loaded several hours ago or you get no summary.")
190
  # button to refresh topics
191
  if st.button("Refresh topics!"):
192
  article_dict, clusters = initialize(LIMIT, USE_CACHE)
193
+ st.subheader("Select chunk size: ")
194
+ st.write("Smaller chunks means more of the article included in the summary and a longer digest.")
195
  chunk_size = st.select_slider(label="Slider", options=[i for i in range(50,801,50)], value=400)
196
 
197
  selections = []