Update characters.py
Browse files- characters.py +1 -1
characters.py
CHANGED
@@ -71,6 +71,6 @@ class Characters(datasets.GeneratorBasedBuilder):
|
|
71 |
for filepath, image in images:
|
72 |
yield idx, {
|
73 |
"image": {"path": filepath, "bytes": image.read()},
|
74 |
-
"text" : DICT_DESC[filepath.split("/")[-1]
|
75 |
}
|
76 |
idx+=1
|
|
|
71 |
for filepath, image in images:
|
72 |
yield idx, {
|
73 |
"image": {"path": filepath, "bytes": image.read()},
|
74 |
+
"text" : DICT_DESC[filepath.split("/")[-1]],
|
75 |
}
|
76 |
idx+=1
|