sahayk commited on
Commit
688961c
·
1 Parent(s): cb86449

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,5 +6,5 @@ summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
6
  ARTICLE = st.text_area('Enter some text here...')
7
 
8
  if ARTICLE:
9
- out = summarizer(ARTICLE, max_length=20000, min_length=30, do_sample=False)
10
  st.json(out)
 
6
  ARTICLE = st.text_area('Enter some text here...')
7
 
8
  if ARTICLE:
9
+ out = summarizer(ARTICLE, max_length=5000, min_length=30, do_sample=False)
10
  st.json(out)