Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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.save(f'{result_path}/AccDiffusion_{current_scale_num}.png')
|
| 1576 |
-
|
| 1577 |
-
output_images.append(
|
| 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[0].save(f'{result_path}/AccDiffusion_{current_scale_num}.png')
|
| 1576 |
+
print(f"DEBUG IMAGE[0]: {image[0]}")
|
| 1577 |
+
output_images.append(f'{result_path}/AccDiffusion_{current_scale_num}.png')
|
| 1578 |
|
| 1579 |
# cast back to fp16 if needed
|
| 1580 |
if needs_upcasting:
|