update number of sentence for ext summ to 5
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ if __name__ == "__main__":
|
|
91 |
text="Creating extractive summary. This might take a few seconds ..."
|
92 |
):
|
93 |
ext_model = Summarizer()
|
94 |
-
summarized_text = ext_model(text_to_summarize, num_sentences=
|
95 |
|
96 |
elif summarize_type == "Abstractive":
|
97 |
with st.spinner(
|
|
|
91 |
text="Creating extractive summary. This might take a few seconds ..."
|
92 |
):
|
93 |
ext_model = Summarizer()
|
94 |
+
summarized_text = ext_model(text_to_summarize, num_sentences=5)
|
95 |
|
96 |
elif summarize_type == "Abstractive":
|
97 |
with st.spinner(
|