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 |
-
summarizer = pipeline("summarization", model="
|
7 |
return summarizer
|
8 |
|
9 |
summarize = load_summarizer()
|
|
|
3 |
|
4 |
@st.cache(allow_output_mutation=True)
|
5 |
def load_summarizer():
|
6 |
+
summarizer = pipeline("summarization", model="pszemraj/long-t5-tglobal-base-16384-booksum-V11-big_patent-V2")
|
7 |
return summarizer
|
8 |
|
9 |
summarize = load_summarizer()
|