Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
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 |
|