Spaces:
Runtime error
Runtime error
Update function.py
Browse files- function.py +1 -1
function.py
CHANGED
@@ -26,7 +26,7 @@ def t5():
|
|
26 |
@st.cache(allow_output_mutation=True)
|
27 |
def ssr():
|
28 |
''' Loading ssr model using pipeline api '''
|
29 |
-
summarizer = pipeline("summarization", model="
|
30 |
return summarizer
|
31 |
|
32 |
def preprocess_plain_text(x):
|
|
|
26 |
@st.cache(allow_output_mutation=True)
|
27 |
def ssr():
|
28 |
''' Loading ssr model using pipeline api '''
|
29 |
+
summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
|
30 |
return summarizer
|
31 |
|
32 |
def preprocess_plain_text(x):
|