Gladiator commited on
Commit
48200ac
1 Parent(s): d4a1512

update number of sentence for ext summ to 5

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=6)
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(