wintercoming6 commited on
Commit
4218995
·
verified ·
1 Parent(s): 5dba0b2

Update test3.py

Browse files
Files changed (1) hide show
  1. test3.py +2 -2
test3.py CHANGED
@@ -74,8 +74,8 @@ class Artwork(datasets.GeneratorBasedBuilder):
74
  ]
75
 
76
  def _generate_examples(self, files):
77
- for i, path in enumerate(files):
78
- yield i, {
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'],