Gladiator commited on
Commit
cf93567
1 Parent(s): c099517
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -58,6 +58,8 @@ if __name__ == "__main__":
58
  if summarize_type == "Extractive":
59
  if is_url:
60
  text_to_summarize = " ".join([txt for txt in clean_txt])
 
 
61
  # extractive summarizer
62
 
63
  with st.spinner(
 
58
  if summarize_type == "Extractive":
59
  if is_url:
60
  text_to_summarize = " ".join([txt for txt in clean_txt])
61
+ else:
62
+ text_to_summarize = clean_txt
63
  # extractive summarizer
64
 
65
  with st.spinner(