Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def get_sentiment(text):
|
|
28 |
label = dec[0]
|
29 |
return label
|
30 |
|
31 |
-
|
32 |
def get_summarizer():
|
33 |
summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
|
34 |
return summarizer
|
|
|
28 |
label = dec[0]
|
29 |
return label
|
30 |
|
31 |
+
#@st.cache(allow_output_mutation=True)
|
32 |
def get_summarizer():
|
33 |
summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
|
34 |
return summarizer
|