Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
3 |
|
4 |
@st.cache(allow_output_mutation=True)
|
5 |
def load_summarizer():
|
6 |
-
model = pipeline("summarization",
|
7 |
return model
|
8 |
|
9 |
|
|
|
3 |
|
4 |
@st.cache(allow_output_mutation=True)
|
5 |
def load_summarizer():
|
6 |
+
model = pipeline("summarization", model="google/bigbird-pegasus-large-bigpatent")
|
7 |
return model
|
8 |
|
9 |
|