Datasets:
Update index.py
Browse files
index.py
CHANGED
|
@@ -83,9 +83,9 @@ class ExteriorAI(datasets.GeneratorBasedBuilder):
|
|
| 83 |
image_path = os.path.join(images_dir, image_path)
|
| 84 |
image = open(image_path, "rb").read()
|
| 85 |
|
| 86 |
-
yield row["
|
| 87 |
"text": text,
|
| 88 |
-
"
|
| 89 |
"path": image_path,
|
| 90 |
"bytes": image,
|
| 91 |
},
|
|
|
|
| 83 |
image_path = os.path.join(images_dir, image_path)
|
| 84 |
image = open(image_path, "rb").read()
|
| 85 |
|
| 86 |
+
yield row["file_name"], {
|
| 87 |
"text": text,
|
| 88 |
+
"file_name": {
|
| 89 |
"path": image_path,
|
| 90 |
"bytes": image,
|
| 91 |
},
|