Update image-demo.py
Browse files- 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
|