Update app.py
Browse files
app.py
CHANGED
|
@@ -204,7 +204,7 @@ article_dict, clusters = initialize(LIMIT, USE_CACHE)
|
|
| 204 |
st.title("Welcome to TopicDig!")
|
| 205 |
st.success(f"You select the topics, we summarize the relevant news and show you a digest, plus some info to help contextualize what the machine did.")
|
| 206 |
|
| 207 |
-
st.warning("Enjoy, and remember,
|
| 208 |
|
| 209 |
st.subheader(f"How it works:")
|
| 210 |
st.write(f"""Select 1 to 3 topics from the drop down menus and click 'submit' to start generating your digest!""")
|
|
@@ -266,7 +266,7 @@ html = """
|
|
| 266 |
st.markdown(html, unsafe_allow_html=True)
|
| 267 |
|
| 268 |
st.sidebar.subheader("Topics")
|
| 269 |
-
st.sidebar.write(clusters)
|
| 270 |
|
| 271 |
st.session_state['dt'] = dt.now()
|
| 272 |
# Form used to take 3 menu inputs
|
|
|
|
| 204 |
st.title("Welcome to TopicDig!")
|
| 205 |
st.success(f"You select the topics, we summarize the relevant news and show you a digest, plus some info to help contextualize what the machine did.")
|
| 206 |
|
| 207 |
+
st.warning("Enjoy, and remember, these summaries contain a few kinds of issues, from untruths to missing attribution or topic sentences. For more information on truthfulness in automatic summarization with transformers see https://arxiv.org/abs/2109.07958.")
|
| 208 |
|
| 209 |
st.subheader(f"How it works:")
|
| 210 |
st.write(f"""Select 1 to 3 topics from the drop down menus and click 'submit' to start generating your digest!""")
|
|
|
|
| 266 |
st.markdown(html, unsafe_allow_html=True)
|
| 267 |
|
| 268 |
st.sidebar.subheader("Topics")
|
| 269 |
+
st.sidebar.write(clusters.keys())
|
| 270 |
|
| 271 |
st.session_state['dt'] = dt.now()
|
| 272 |
# Form used to take 3 menu inputs
|