green commited on
Commit
e3c73af
·
1 Parent(s): d39e612

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -178,7 +178,7 @@ article_dict, clusters = initialize(LIMIT, USE_CACHE)
178
  # We call a display function and get the user input.
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
 
@@ -200,7 +200,7 @@ st.session_state['dt'] = dt.now()
200
  col2.write("Smaller chunks means more of the article included in the summary and a longer digest.")
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))
 
178
  # We call a display function and get the user input.
179
  # For this its still streamlit.
180
 
181
+ col1, col2 = st.columns([2, 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
 
 
200
  col2.write("Smaller chunks means more of the article included in the summary and a longer digest.")
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 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))