Spaces:
Build error
Build error
mnavas
commited on
Commit
•
b095da5
1
Parent(s):
beb2882
app
Browse files
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"
|
11 |
-
df = pd.read_csv("code-desc.csv"
|
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:]
|