hirol commited on
Commit
67e6a13
1 Parent(s): 2db2ca7

Update generate_img.py

Browse files
Files changed (1) hide show
  1. generate_img.py +1 -1
generate_img.py CHANGED
@@ -6,7 +6,7 @@ from pipeline_stable_diffusion_controlnet_inpaint import *
6
  from diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_controlnet import *
7
  import random
8
  #model1
9
- controlnet = ControlNetModel.from_pretrained("lllyasviel/control_v11p_sd15_openpose", torch_dtype=torch.float16)
10
  pipe = StableDiffusionControlNetInpaintPipeline.from_pretrained(
11
  "./models/Any-inpainting", controlnet=controlnet, torch_dtype=torch.float16,cache_dir='./models'
12
  )
 
6
  from diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_controlnet import *
7
  import random
8
  #model1
9
+ controlnet = ControlNetModel.from_pretrained("lllyasviel/control_v11f1p_sd15_depth", torch_dtype=torch.float16)
10
  pipe = StableDiffusionControlNetInpaintPipeline.from_pretrained(
11
  "./models/Any-inpainting", controlnet=controlnet, torch_dtype=torch.float16,cache_dir='./models'
12
  )