nickmuchi commited on
Commit
4b582d8
·
1 Parent(s): 4232e65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -184,11 +184,6 @@ else:
184
 
185
  clean_text = preprocess_plain_text(plain_text)
186
 
187
- if is_url:
188
-
189
- # view summarized text (expander)
190
- st.markdown(f"Article title: {article_title}")
191
-
192
  summarize = st.button("Summarize")
193
 
194
  # called on toggle button [summarize]
@@ -208,7 +203,13 @@ if summarize:
208
 
209
  # final summarized output
210
  st.subheader("Summarized text")
211
- st.info(summarized_text)
 
 
 
 
 
 
212
 
213
  text_downloader(summarized_text)
214
 
 
184
 
185
  clean_text = preprocess_plain_text(plain_text)
186
 
 
 
 
 
 
187
  summarize = st.button("Summarize")
188
 
189
  # called on toggle button [summarize]
 
203
 
204
  # final summarized output
205
  st.subheader("Summarized text")
206
+
207
+ if is_url:
208
+
209
+ # view summarized text (expander)
210
+ st.markdown(f"Article title: {article_title}")
211
+
212
+ st.write(summarized_text)
213
 
214
  text_downloader(summarized_text)
215