mnavas commited on
Commit
b095da5
1 Parent(s): beb2882
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,8 +7,8 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
7
  tokenizer = AutoTokenizer.from_pretrained("mnavas/roberta-finetuned-CPV_Spanish")
8
  model = AutoModelForSequenceClassification.from_pretrained("mnavas/roberta-finetuned-CPV_Spanish")
9
 
10
- cpv = pd.read_csv("cpv.csv", encoding='ansi')
11
- df = pd.read_csv("code-desc.csv", encoding='ansi')
12
 
13
  labels = df.columns[1:]
14
  cpv = cpv.columns[1:]
 
7
  tokenizer = AutoTokenizer.from_pretrained("mnavas/roberta-finetuned-CPV_Spanish")
8
  model = AutoModelForSequenceClassification.from_pretrained("mnavas/roberta-finetuned-CPV_Spanish")
9
 
10
+ cpv = pd.read_csv("cpv.csv")
11
+ df = pd.read_csv("code-desc.csv")
12
 
13
  labels = df.columns[1:]
14
  cpv = cpv.columns[1:]