kadirnar commited on
Commit
d7743b7
·
1 Parent(s): ef471c6

Update diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_canny.py

Browse files
diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_canny.py CHANGED
@@ -41,9 +41,7 @@ class StableDiffusionControlNetInpaintCannyGenerator:
41
  return self.pipe
42
 
43
  def load_img(self, image_path):
44
- breakpoint()
45
- image = image_path["image"].convert("RGB").resize((512, 512))
46
- image = np.array(image)
47
  image = Image.fromarray(image)
48
  return image
49
 
 
41
  return self.pipe
42
 
43
  def load_img(self, image_path):
44
+ image = np.array(image_path)
 
 
45
  image = Image.fromarray(image)
46
  return image
47