fffiloni commited on
Commit
bc83af7
·
verified ·
1 Parent(s): 1a71d6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1572,9 +1572,9 @@ class AccDiffusionSDXLPipeline(DiffusionPipeline, FromSingleFileMixin, LoraLoade
1572
 
1573
  image = self.image_processor.postprocess(image, output_type=output_type)
1574
  print(f"DEBUG IMAGE: {image}")
1575
- image[0].save(f'{result_path}/AccDiffusion_{current_scale_num}.png')
1576
- print(f"DEBUG IMAGE[Ø]: {image}")
1577
- output_images.append(image[0])
1578
 
1579
  # cast back to fp16 if needed
1580
  if needs_upcasting:
 
1572
 
1573
  image = self.image_processor.postprocess(image, output_type=output_type)
1574
  print(f"DEBUG IMAGE: {image}")
1575
+ image.save(f'{result_path}/AccDiffusion_{current_scale_num}.png')
1576
+
1577
+ output_images.append(image)
1578
 
1579
  # cast back to fp16 if needed
1580
  if needs_upcasting: