Spaces:
Runtime error
Runtime error
list to doc
Browse files
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(
|