Upload erukaLabels.py
Browse files- erukaLabels.py +1 -1
erukaLabels.py
CHANGED
|
@@ -121,7 +121,7 @@ class Funsd(datasets.GeneratorBasedBuilder):
|
|
| 121 |
|
| 122 |
file_path = os.path.join(ann_dir, file)
|
| 123 |
with open(file_path, "r", encoding="ISO-8859-1") as f:
|
| 124 |
-
data = json.load(f
|
| 125 |
image_path = os.path.join(img_dir, file)
|
| 126 |
|
| 127 |
# changed
|
|
|
|
| 121 |
|
| 122 |
file_path = os.path.join(ann_dir, file)
|
| 123 |
with open(file_path, "r", encoding="ISO-8859-1") as f:
|
| 124 |
+
data = json.load(f)
|
| 125 |
image_path = os.path.join(img_dir, file)
|
| 126 |
|
| 127 |
# changed
|