wintercoming6 commited on
Commit
1da2a82
1 Parent(s): 2035f82

Update artwork_for_sdxl.py

Browse files
Files changed (1) hide show
  1. artwork_for_sdxl.py +3 -3
artwork_for_sdxl.py CHANGED
@@ -72,9 +72,9 @@ class Artwork(datasets.GeneratorBasedBuilder):
72
  print(path)
73
  print(path.prompt)
74
  print(type(path.prompt))
75
- print(path.image_data)
76
- print(type(path.image_data))
77
  yield {
78
  "prompt": path.prompt,
79
- "image_data": Image.open(path.image_data),
80
  }
 
72
  print(path)
73
  print(path.prompt)
74
  print(type(path.prompt))
75
+ print(path.file_name)
76
+ print(type(path.file_name))
77
  yield {
78
  "prompt": path.prompt,
79
+ "image_data": Image.open(path.file_name),
80
  }