pzangara commited on
Commit
fa6d33e
1 Parent(s): 98672a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import gradio as gr
8
  import pandas as pd
9
 
10
  model_name_c = "MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7"
11
- tokenizer_c = AutoTokenizer.from_pretrained(model_name)
12
  classifier = pipeline("zero-shot-classification", model=model_name_c,tokenizer=tokenizer_c)
13
 
14
  # Inicializa Modelo de Clasificaci贸n de Sentimientos
 
8
  import pandas as pd
9
 
10
  model_name_c = "MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7"
11
+ tokenizer_c = AutoTokenizer.from_pretrained(model_name_c)
12
  classifier = pipeline("zero-shot-classification", model=model_name_c,tokenizer=tokenizer_c)
13
 
14
  # Inicializa Modelo de Clasificaci贸n de Sentimientos