vaishnavia40
commited on
Commit
•
397b5d5
1
Parent(s):
38780dc
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Instantiating summarization pipeline with the bart-finetuned-samsum model
|
5 |
-
summarizer = pipeline(task="summarization", model="
|
6 |
|
7 |
# Title
|
8 |
st.title("📝 Text Summarization with BART")
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Instantiating summarization pipeline with the bart-finetuned-samsum model
|
5 |
+
summarizer = pipeline(task="summarization", model="Priyanka-Balivada/pegasus-samsum")
|
6 |
|
7 |
# Title
|
8 |
st.title("📝 Text Summarization with BART")
|