hirol commited on
Commit
e48f389
1 Parent(s): a08b48c

Update generate_img.py

Browse files
Files changed (1) hide show
  1. generate_img.py +2 -2
generate_img.py CHANGED
@@ -7,8 +7,8 @@ from diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_controlnet i
7
  import random
8
 
9
  # model2
10
- controlnet = ControlNetModel.from_pretrained("./models/control_any5_openpose", torch_dtype=torch.float16)
11
- pipe = StableDiffusionControlNetInpaintPipeline.from_pretrained("./models/Any-inpainting", controlnet=controlnet, torch_dtype=torch.float16)
12
  pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
13
 
14
 
 
7
  import random
8
 
9
  # model2
10
+ controlnet = ControlNetModel.from_pretrained("hirol/control_any5_openpose", torch_dtype=torch.float16)
11
+ pipe = StableDiffusionControlNetInpaintPipeline.from_pretrained("hirol/Any-inpainting", controlnet=controlnet, torch_dtype=torch.float16)
12
  pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
13
 
14