Update sentiments.html
Browse files- sentiments.html +1 -1
sentiments.html
CHANGED
@@ -152,7 +152,7 @@
|
|
152 |
// Initialize the sentiment analysis model
|
153 |
async function initializeModel() {
|
154 |
sentimentAnalysis = await pipeline("sentiment-analysis");
|
155 |
-
reviewer = await pipeline('sentiment-analysis', 'Xenova/bert-base-multilingual-uncased-sentiment
|
156 |
toxic_classifier = await pipeline('text-classification', 'Xenova/toxic-bert');
|
157 |
}
|
158 |
|
|
|
152 |
// Initialize the sentiment analysis model
|
153 |
async function initializeModel() {
|
154 |
sentimentAnalysis = await pipeline("sentiment-analysis");
|
155 |
+
reviewer = await pipeline('sentiment-analysis', 'Xenova/distilbert-base-uncased-finetuned-sst-2-english'); // Xenova/bert-base-multilingual-uncased-sentiment
|
156 |
toxic_classifier = await pipeline('text-classification', 'Xenova/toxic-bert');
|
157 |
}
|
158 |
|