Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -84,12 +84,6 @@ labels = dataset.features['ner_tags'].feature.names
|
|
84 |
|
85 |
features = dataset["test"].features
|
86 |
|
87 |
-
column_names = dataset["test"].column_names
|
88 |
-
|
89 |
-
image_column_name = "image"
|
90 |
-
text_column_name = "tokens"
|
91 |
-
boxes_column_name = "bboxes"
|
92 |
-
label_column_name = "ner_tags"
|
93 |
|
94 |
# In the event the labels are not a `Sequence[ClassLabel]`, we will need to go through the dataset to get the
|
95 |
# unique labels.
|
|
|
84 |
|
85 |
features = dataset["test"].features
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
88 |
# In the event the labels are not a `Sequence[ClassLabel]`, we will need to go through the dataset to get the
|
89 |
# unique labels.
|