- handler.py +1 -1
handler.py
CHANGED
@@ -13,7 +13,7 @@ from diffusers.utils import load_image
|
|
13 |
|
14 |
class EndpointHandler():
|
15 |
def __init__(self, path=""):
|
16 |
-
pipe = AutoPipelineForImage2Image.from_pretrained("stabilityai/sdxl-turbo", torch_dtype=torch.float16, variant="fp16")
|
17 |
self.pipe.to("cuda")
|
18 |
|
19 |
|
|
|
13 |
|
14 |
class EndpointHandler():
|
15 |
def __init__(self, path=""):
|
16 |
+
self.pipe = AutoPipelineForImage2Image.from_pretrained("stabilityai/sdxl-turbo", torch_dtype=torch.float16, variant="fp16")
|
17 |
self.pipe.to("cuda")
|
18 |
|
19 |
|