zhiweili commited on
Commit
3db6256
1 Parent(s): 50358bf
Files changed (1) hide show
  1. app_haircolor_img2img.py +2 -2
app_haircolor_img2img.py CHANGED
@@ -10,7 +10,7 @@ from segment_utils import(
10
  restore_result,
11
  )
12
  from diffusers import (
13
- StableDiffusionControlNetImg2ImgPipeline,
14
  ControlNetModel,
15
  DDIMScheduler,
16
  DPMSolverMultistepScheduler,
@@ -49,7 +49,7 @@ controlnet = ControlNetModel.from_pretrained(
49
  torch_dtype=torch.float16,
50
  )
51
 
52
- basepipeline = StableDiffusionControlNetImg2ImgPipeline.from_pretrained(
53
  BASE_MODEL,
54
  torch_dtype=torch.float16,
55
  use_safetensors=True,
 
10
  restore_result,
11
  )
12
  from diffusers import (
13
+ StableDiffusionControlNetPipeline,
14
  ControlNetModel,
15
  DDIMScheduler,
16
  DPMSolverMultistepScheduler,
 
49
  torch_dtype=torch.float16,
50
  )
51
 
52
+ basepipeline = StableDiffusionControlNetPipeline.from_pretrained(
53
  BASE_MODEL,
54
  torch_dtype=torch.float16,
55
  use_safetensors=True,