ktkeller commited on
Commit
a75f6c9
·
1 Parent(s): 4257eb5

Update image-demo.py

Browse files
Files changed (1) hide show
  1. image-demo.py +1 -1
image-demo.py CHANGED
@@ -84,6 +84,6 @@ class ImagesDemo(datasets.GeneratorBasedBuilder):
84
  print(filepath)
85
  yield idx, {
86
  "image": {"path": filepath, "bytes": image.read()},
87
- "text": "This is the " + filepath[:-4] +" logo."
88
  }
89
  idx += 1
 
84
  print(filepath)
85
  yield idx, {
86
  "image": {"path": filepath, "bytes": image.read()},
87
+ "text": "This is the " + filepath[10:-4] +" logo."
88
  }
89
  idx += 1