charleselena commited on
Commit
4fb1dc1
·
verified ·
1 Parent(s): c19e295

commet processor

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -64,7 +64,7 @@ class EndpointHandler():
64
  self.control_type = "depth"
65
  self.controlnet = ControlNetModel.from_pretrained(CONTROLNET_MAPPING[self.control_type]["model_id"],torch_dtype=dtype).to(device)
66
 
67
- processor = AutoProcessor.from_pretrained("CompVis/stable-diffusion-safety-checker")
68
 
69
 
70
  # Load StableDiffusionControlNetPipeline
 
64
  self.control_type = "depth"
65
  self.controlnet = ControlNetModel.from_pretrained(CONTROLNET_MAPPING[self.control_type]["model_id"],torch_dtype=dtype).to(device)
66
 
67
+ #processor = AutoProcessor.from_pretrained("CompVis/stable-diffusion-safety-checker")
68
 
69
 
70
  # Load StableDiffusionControlNetPipeline