karimbenharrak
commited on
Commit
•
3c30bb4
1
Parent(s):
135d9ff
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -29,7 +29,7 @@ class EndpointHandler():
|
|
29 |
)
|
30 |
|
31 |
self.pipe = StableDiffusionControlNetInpaintPipeline.from_pretrained(
|
32 |
-
"runwayml/stable-diffusion-
|
33 |
)
|
34 |
|
35 |
self.pipe.scheduler = DDIMScheduler.from_config(self.pipe.scheduler.config)
|
|
|
29 |
)
|
30 |
|
31 |
self.pipe = StableDiffusionControlNetInpaintPipeline.from_pretrained(
|
32 |
+
"runwayml/stable-diffusion-inpainting", controlnet=self.controlnet, torch_dtype=torch.float16
|
33 |
)
|
34 |
|
35 |
self.pipe.scheduler = DDIMScheduler.from_config(self.pipe.scheduler.config)
|