wintercoming6 commited on
Commit
60e0af3
1 Parent(s): d2f28c9

Update artwork_for_sdxl.py

Browse files
Files changed (1) hide show
  1. artwork_for_sdxl.py +5 -5
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_json)
99
- yield examples_json
 
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 examples