Spaces:
Runtime error
Runtime error
Update function.py
Browse files- function.py +0 -4
function.py
CHANGED
@@ -29,10 +29,6 @@ def ssr():
|
|
29 |
summarizer = pipeline("summarization", model="santiviquez/ssr-base-finetuned-samsum-en")
|
30 |
return summarizer
|
31 |
|
32 |
-
# def pegasus():
|
33 |
-
# ''' Loading pegasus model using pipeline api '''
|
34 |
-
# summarizer = pipeline('summarization',model='google/pegasus-xsum')
|
35 |
-
# return summarizer
|
36 |
|
37 |
def preprocess_plain_text(x):
|
38 |
|
|
|
29 |
summarizer = pipeline("summarization", model="santiviquez/ssr-base-finetuned-samsum-en")
|
30 |
return summarizer
|
31 |
|
|
|
|
|
|
|
|
|
32 |
|
33 |
def preprocess_plain_text(x):
|
34 |
|