Spaces:
Runtime error
Runtime error
Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
|
@@ -3,7 +3,7 @@ from utils import clean_text, generate_wordcloud
|
|
| 3 |
|
| 4 |
# Load Hugging Face models
|
| 5 |
sentiment_model = pipeline("sentiment-analysis", model="distilbert-base-uncased-finetuned-sst-2-english")
|
| 6 |
-
summarizer = pipeline("summarization", model="
|
| 7 |
|
| 8 |
def process_comment(text):
|
| 9 |
# Clean text
|
|
|
|
| 3 |
|
| 4 |
# Load Hugging Face models
|
| 5 |
sentiment_model = pipeline("sentiment-analysis", model="distilbert-base-uncased-finetuned-sst-2-english")
|
| 6 |
+
summarizer = pipeline("summarization", model="sshleifer/distilbart-cnn-12-6")
|
| 7 |
|
| 8 |
def process_comment(text):
|
| 9 |
# Clean text
|