ktkeller commited on
Commit
722e692
·
1 Parent(s): 459a679

Update image-demo.py

Browse files
Files changed (1) hide show
  1. image-demo.py +1 -0
image-demo.py CHANGED
@@ -133,6 +133,7 @@ class ImagesDemo(datasets.GeneratorBasedBuilder):
133
  idx = 0
134
  #iterate through images
135
  for filepath, image in images:
 
136
  yield idx, {
137
  "image": {"path": filepath, "bytes": image.read()},
138
  "text": descriptions[idx]
 
133
  idx = 0
134
  #iterate through images
135
  for filepath, image in images:
136
+ print(filepath)
137
  yield idx, {
138
  "image": {"path": filepath, "bytes": image.read()},
139
  "text": descriptions[idx]