rviana commited on
Commit
88cfbb8
1 Parent(s): 249116b

Add Multilingual BERT model.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import socket
5
  import threading
6
 
7
  # Specify the model name explicitly to avoid warnings
8
- model_name = "distilbert-base-uncased-finetuned-sst-2-english"
9
 
10
  # Load the pre-trained sentiment-analysis pipeline
11
  try:
 
5
  import threading
6
 
7
  # Specify the model name explicitly to avoid warnings
8
+ model_name = "nlptown/bert-base-multilingual-uncased-sentiment"
9
 
10
  # Load the pre-trained sentiment-analysis pipeline
11
  try: