ChandraP12330 commited on
Commit
f6ca00f
·
verified ·
1 Parent(s): 8d1fd64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,6 +6,6 @@ article = st.text_area('Text to be summarized:', height=200)
6
 
7
  if st.button("Do the Magic!"):
8
  summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
9
- output= summarizer(article, min_length = 200 , max_length=250)
10
  st.write(output[0]['summary_text'])
11
 
 
6
 
7
  if st.button("Do the Magic!"):
8
  summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
9
+ output= summarizer(article, min_length = 100 , max_length=200)
10
  st.write(output[0]['summary_text'])
11