Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ bert_path = "bert-base-uncased"
|
|
17 |
tokenizer = AutoTokenizer.from_pretrained(bert_path)
|
18 |
|
19 |
# Read and format data.
|
20 |
-
tweets_raw = pd.read_csv("test.csv", nrows=
|
21 |
-
labels_raw = pd.read_csv("test_labels.csv", nrows=
|
22 |
|
23 |
label_set = ["toxic", "severe_toxic", "obscene", "threat", "insult", "identity_hate"]
|
24 |
label_vector = labels_raw[label_set].values.tolist()
|
|
|
17 |
tokenizer = AutoTokenizer.from_pretrained(bert_path)
|
18 |
|
19 |
# Read and format data.
|
20 |
+
tweets_raw = pd.read_csv("test.csv", nrows=200)
|
21 |
+
labels_raw = pd.read_csv("test_labels.csv", nrows=200)
|
22 |
|
23 |
label_set = ["toxic", "severe_toxic", "obscene", "threat", "insult", "identity_hate"]
|
24 |
label_vector = labels_raw[label_set].values.tolist()
|