Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ import gradio as gr
|
|
7 |
#from pysentimiento import create_analyzer
|
8 |
import pandas as pd
|
9 |
|
10 |
-
|
11 |
-
|
12 |
|
13 |
# Inicializa Modelo de Clasificación de Sentimientos
|
14 |
model_name_sent = 'pysentimiento/robertuito-sentiment-analysis'
|
|
|
7 |
#from pysentimiento import create_analyzer
|
8 |
import pandas as pd
|
9 |
|
10 |
+
model_name = "MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7"
|
11 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
12 |
|
13 |
# Inicializa Modelo de Clasificación de Sentimientos
|
14 |
model_name_sent = 'pysentimiento/robertuito-sentiment-analysis'
|