Spaces:
Sleeping
Sleeping
Add distilbert multilingual model.
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ import streamlit as st
|
|
4 |
import socket
|
5 |
import threading
|
6 |
|
7 |
-
# Specify the
|
8 |
-
model_name = "distilbert-base-
|
9 |
|
10 |
# Load the pre-trained sentiment-analysis pipeline
|
11 |
try:
|
|
|
4 |
import socket
|
5 |
import threading
|
6 |
|
7 |
+
# Specify the multilingual DistilBERT model
|
8 |
+
model_name = "distilbert-base-multilingual-cased"
|
9 |
|
10 |
# Load the pre-trained sentiment-analysis pipeline
|
11 |
try:
|