charleselena commited on
Commit
e98a390
·
verified ·
1 Parent(s): fc91702

Update handler.py

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