wintercoming6 commited on
Commit
892c9ae
1 Parent(s): abd1954

Update artwork_for_sdxl.py

Browse files
Files changed (1) hide show
  1. artwork_for_sdxl.py +3 -3
artwork_for_sdxl.py CHANGED
@@ -92,8 +92,8 @@ class Artwork(datasets.GeneratorBasedBuilder):
92
  img = self.download_image(_image_url+ row.file_name)
93
  print(img)
94
  examples = {}
95
- # examples["image_data"] = img
96
- # examples["prompt"] = p
97
  # examples_json = json.dumps(examples)
98
  print(examples)
99
- yield row.file_name
 
92
  img = self.download_image(_image_url+ row.file_name)
93
  print(img)
94
  examples = {}
95
+ examples["image_data"] = n
96
+ examples["prompt"] = p
97
  # examples_json = json.dumps(examples)
98
  print(examples)
99
+ yield examples