Spaces:
Runtime error
Runtime error
fix bug
Browse files
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(
|