Gladiator commited on
Commit
b916752
1 Parent(s): 2f3849e

list to doc

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -43,6 +43,8 @@ if __name__ == "__main__":
43
  # called on toggle button [summarize]
44
  if summarize:
45
  if summarize_type == "Extractive":
 
 
46
  # extractive summarizer
47
 
48
  with st.spinner(
 
43
  # called on toggle button [summarize]
44
  if summarize:
45
  if summarize_type == "Extractive":
46
+ if is_url:
47
+ text_to_summarize = " ".join([txt for txt in text_to_summarize])
48
  # extractive summarizer
49
 
50
  with st.spinner(