Spaces:
Sleeping
Sleeping
Add Multilingual BERT model.
Browse files
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 = "
|
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:
|