UNIST-Eunchan
commited on
Commit
·
e8f61e2
1
Parent(s):
a897be7
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline
|
|
4 |
|
5 |
|
6 |
def summarize(doc):
|
7 |
-
summarizer_pipeline = pipeline("summarization", model="UNIST-Eunchan/Paper-Summarization-ArXiv")
|
8 |
|
9 |
doc = r"{doc}".replace('\n', ' ')
|
10 |
result = summarizer_pipeline(doc)
|
|
|
4 |
|
5 |
|
6 |
def summarize(doc):
|
7 |
+
summarizer_pipeline = pipeline("summarization", model="UNIST-Eunchan/Research-Paper-Summarization-Pegasus-x-ArXiv")
|
8 |
|
9 |
doc = r"{doc}".replace('\n', ' ')
|
10 |
result = summarizer_pipeline(doc)
|