boazchung commited on
Commit
5b41f8b
1 Parent(s): 41c16ce

Update sentiments.html

Browse files
Files changed (1) hide show
  1. 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("sentiment-analysis");
117
- reviewer = await pipeline('sentiment-analysis', 'Xenova/distilbert-base-uncased-finetuned-sst-2-english'); // Xenova/bert-base-multilingual-uncased-sentiment
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