Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,5 +5,5 @@ from transformers import pipeline
|
|
5 |
topic = st.text_area("Enter text to be summarized")
|
6 |
|
7 |
if topic:
|
8 |
-
summarizer = pipeline("summarization", model = "
|
9 |
st.write(summarizer)
|
|
|
5 |
topic = st.text_area("Enter text to be summarized")
|
6 |
|
7 |
if topic:
|
8 |
+
summarizer = pipeline("summarization", model = "google-t5/t5-base")
|
9 |
st.write(summarizer)
|