Update sentiments.html
Browse files- sentiments.html +2 -2
sentiments.html
CHANGED
@@ -113,8 +113,8 @@
|
|
113 |
|
114 |
// Initialize the sentiment analysis model
|
115 |
async function initializeModel() {
|
116 |
-
sentimentAnalysis = await pipeline(
|
117 |
-
reviewer = await pipeline('sentiment-analysis', 'Xenova/distilbert-base-uncased-finetuned-sst-2-english');
|
118 |
toxic_classifier = await pipeline('text-classification', 'Xenova/toxic-bert');
|
119 |
}
|
120 |
|
|
|
113 |
|
114 |
// Initialize the sentiment analysis model
|
115 |
async function initializeModel() {
|
116 |
+
sentimentAnalysis = await pipeline('sentiment-analysis', 'Xenova/distilbert-base-uncased-finetuned-sst-2-english');
|
117 |
+
reviewer = await pipeline('sentiment-analysis', 'Xenova/distilbert-base-uncased-finetuned-sst-2-english');
|
118 |
toxic_classifier = await pipeline('text-classification', 'Xenova/toxic-bert');
|
119 |
}
|
120 |
|