JAWCF commited on
Commit
fd90c31
·
1 Parent(s): 8848737

Update characters.py

Browse files
Files changed (1) hide show
  1. characters.py +1 -2
characters.py CHANGED
@@ -64,8 +64,7 @@ class Characters(datasets.GeneratorBasedBuilder):
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",
71
  }
 
64
  def _generate_examples(self, images):
65
  """Yields examples."""
66
  for filepath, image in images:
 
67
  yield {
68
  "image": {"path": filepath, "bytes": image.read()},
69
+ "text" : "filepath",
70
  }