commet processor
Browse files- 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
|