MrAlex commited on
Commit
bd2cf22
1 Parent(s): cc93e85
Files changed (1) hide show
  1. 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
- # image = prepare_image(image)
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):