fffiloni commited on
Commit
41cdfe9
·
verified ·
1 Parent(s): 0c5439d

Update app.py

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