JAWCF commited on
Commit
afc2393
·
1 Parent(s): 415e722

Update maps.py

Browse files
Files changed (1) hide show
  1. maps.py +1 -1
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