fix
Browse files- pipeline.py +2 -2
pipeline.py
CHANGED
|
@@ -899,8 +899,8 @@ class StableDiffusionControlNetImg2ImgPipeline(DiffusionPipeline, TextualInversi
|
|
| 899 |
)
|
| 900 |
|
| 901 |
# 4. Prepare image, and controlnet_conditioning_image
|
| 902 |
-
|
| 903 |
-
images = [prepare_image(img) for img in image]
|
| 904 |
|
| 905 |
# condition image(s)
|
| 906 |
if isinstance(self.controlnet, ControlNetModel):
|
|
|
|
| 899 |
)
|
| 900 |
|
| 901 |
# 4. Prepare image, and controlnet_conditioning_image
|
| 902 |
+
image = prepare_image(image)
|
| 903 |
+
# images = [prepare_image(img) for img in image]
|
| 904 |
|
| 905 |
# condition image(s)
|
| 906 |
if isinstance(self.controlnet, ControlNetModel):
|