julianG99 commited on
Commit
eccf0b1
·
verified ·
1 Parent(s): d2de450

Update index.py

Browse files
Files changed (1) hide show
  1. index.py +2 -2
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["image"], {
87
  "text": text,
88
- "image": {
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
  },