Update VQG.py
Browse files
VQG.py
CHANGED
|
@@ -84,6 +84,7 @@ class VQGTargz(datasets.GeneratorBasedBuilder):
|
|
| 84 |
idx = 0
|
| 85 |
# iterate through the images
|
| 86 |
for filepath, image in images:
|
|
|
|
| 87 |
yield idx, {
|
| 88 |
"Chart": {"path": filepath, "bytes": image.read()},
|
| 89 |
"Question": "What is the chart about?",
|
|
|
|
| 84 |
idx = 0
|
| 85 |
# iterate through the images
|
| 86 |
for filepath, image in images:
|
| 87 |
+
print(filepath)
|
| 88 |
yield idx, {
|
| 89 |
"Chart": {"path": filepath, "bytes": image.read()},
|
| 90 |
"Question": "What is the chart about?",
|