Update characters.py
Browse files- characters.py +1 -1
characters.py
CHANGED
|
@@ -64,7 +64,7 @@ class Characters(datasets.GeneratorBasedBuilder):
|
|
| 64 |
def _generate_examples(self, images):
|
| 65 |
"""Yields examples."""
|
| 66 |
for filepath, image in images:
|
| 67 |
-
print(image)
|
| 68 |
yield {
|
| 69 |
"image": {"path": filepath, "bytes": image.read()},
|
| 70 |
"text" : "alal",
|
|
|
|
| 64 |
def _generate_examples(self, images):
|
| 65 |
"""Yields examples."""
|
| 66 |
for filepath, image in images:
|
| 67 |
+
print(image.read())
|
| 68 |
yield {
|
| 69 |
"image": {"path": filepath, "bytes": image.read()},
|
| 70 |
"text" : "alal",
|