Update test3.py
Browse files
test3.py
CHANGED
@@ -74,8 +74,8 @@ class Artwork(datasets.GeneratorBasedBuilder):
|
|
74 |
]
|
75 |
|
76 |
def _generate_examples(self, files):
|
77 |
-
for
|
78 |
-
yield
|
79 |
"filename": path['file_name'],
|
80 |
"label": path['label'],
|
81 |
"image_data": path['image_data'],
|
|
|
74 |
]
|
75 |
|
76 |
def _generate_examples(self, files):
|
77 |
+
for path in files:
|
78 |
+
yield {
|
79 |
"filename": path['file_name'],
|
80 |
"label": path['label'],
|
81 |
"image_data": path['image_data'],
|