Update app.py
Browse files
app.py
CHANGED
@@ -179,7 +179,7 @@ article_dict, clusters = initialize(LIMIT, USE_CACHE)
|
|
179 |
# For this its still streamlit.
|
180 |
|
181 |
col1, col2 = st.columns([3, 1])
|
182 |
-
|
183 |
|
184 |
|
185 |
col1.write(f"""How it works: \nSelect 1 to 3 topics from the drop down menus and click 'submit' to start generating your summary!""")
|
@@ -201,7 +201,7 @@ col2.write("Smaller chunks means more of the article included in the summary and
|
|
201 |
chunk_size = col2.select_slider(label="Slider", options=[i for i in range(50,801,50)], value=400)
|
202 |
# Form used to take 3 menu inputs
|
203 |
with col1.form(key='columns_in_form'):
|
204 |
-
cols =
|
205 |
for i, col in enumerate(cols):
|
206 |
selections.append(col.selectbox(f'Make a Selection', choices, key=i))
|
207 |
submitted = st.form_submit_button('Submit')
|
|
|
179 |
# For this its still streamlit.
|
180 |
|
181 |
col1, col2 = st.columns([3, 1])
|
182 |
+
col1.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 |
col1.write(f"""How it works: \nSelect 1 to 3 topics from the drop down menus and click 'submit' to start generating your summary!""")
|
|
|
201 |
chunk_size = col2.select_slider(label="Slider", options=[i for i in range(50,801,50)], value=400)
|
202 |
# Form used to take 3 menu inputs
|
203 |
with col1.form(key='columns_in_form'):
|
204 |
+
cols = st.columns(3)
|
205 |
for i, col in enumerate(cols):
|
206 |
selections.append(col.selectbox(f'Make a Selection', choices, key=i))
|
207 |
submitted = st.form_submit_button('Submit')
|