charleselena commited on
Commit
3a7e99d
1 Parent(s): 1976155

change model to dream

Browse files
Files changed (1) hide show
  1. handler.py +2 -2
handler.py CHANGED
@@ -66,8 +66,8 @@ class EndpointHandler():
66
  self.controlnet = ControlNetModel.from_pretrained(CONTROLNET_MAPPING[self.control_type]["model_id"],torch_dtype=dtype).to(device)
67
 
68
  # Load StableDiffusionControlNetPipeline
69
- self.stable_diffusion_id = "runwayml/stable-diffusion-v1-5"
70
- #self.stable_diffusion_id = "Lykon/dreamshaper-8"
71
  # self.pipe = StableDiffusionControlNetPipeline.from_pretrained(self.stable_diffusion_id,
72
  # controlnet=self.controlnet,
73
  # torch_dtype=dtype,
 
66
  self.controlnet = ControlNetModel.from_pretrained(CONTROLNET_MAPPING[self.control_type]["model_id"],torch_dtype=dtype).to(device)
67
 
68
  # Load StableDiffusionControlNetPipeline
69
+ #self.stable_diffusion_id = "runwayml/stable-diffusion-v1-5"
70
+ self.stable_diffusion_id = "Lykon/dreamshaper-8"
71
  # self.pipe = StableDiffusionControlNetPipeline.from_pretrained(self.stable_diffusion_id,
72
  # controlnet=self.controlnet,
73
  # torch_dtype=dtype,