Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,12 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
|
5 |
|
6 |
ARTICLE = st.text_area('Enter some text here...')
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
st.write("""
|
5 |
+
# Text Summarizer App
|
6 |
+
|
7 |
+
Enter text below and hit Enter to summarize using Facebook's BART LLM.
|
8 |
+
""")
|
9 |
+
|
10 |
summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
|
11 |
|
12 |
ARTICLE = st.text_area('Enter some text here...')
|