Update maps.py
Browse files
maps.py
CHANGED
|
@@ -70,7 +70,7 @@ class Maps(datasets.GeneratorBasedBuilder):
|
|
| 70 |
idx = 0
|
| 71 |
for filepath, image in images:
|
| 72 |
yield idx, {
|
| 73 |
-
"image": {"path": filepath, "bytes": image.read()},
|
| 74 |
"text" : DICT_DESC[filepath.split("/")[-1].lower()],
|
|
|
|
| 75 |
}
|
| 76 |
idx+=1
|
|
|
|
| 70 |
idx = 0
|
| 71 |
for filepath, image in images:
|
| 72 |
yield idx, {
|
|
|
|
| 73 |
"text" : DICT_DESC[filepath.split("/")[-1].lower()],
|
| 74 |
+
"image": {"path": filepath, "bytes": image.read()},
|
| 75 |
}
|
| 76 |
idx+=1
|