Spaces:
Runtime error
Runtime error
Idk
#17
by
riptidesbr
- opened
- inpainting.py +3 -3
inpainting.py
CHANGED
@@ -184,9 +184,9 @@ class StableDiffusionInpaintingPipeline(DiffusionPipeline):
|
|
184 |
image = (image / 2 + 0.5).clamp(0, 1)
|
185 |
image = image.cpu().permute(0, 2, 3, 1).numpy()
|
186 |
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
|
191 |
if output_type == "pil":
|
192 |
image = self.numpy_to_pil(image)
|
|
|
184 |
image = (image / 2 + 0.5).clamp(0, 1)
|
185 |
image = image.cpu().permute(0, 2, 3, 1).numpy()
|
186 |
|
187 |
+
+
|
188 |
+
+
|
189 |
+
|
190 |
|
191 |
if output_type == "pil":
|
192 |
image = self.numpy_to_pil(image)
|