Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def pipe_t2i():
|
|
44 |
return PIPE
|
45 |
|
46 |
def pipe_i2i():
|
47 |
-
PIPE =
|
48 |
PIPE.unet = torch.compile(PIPE.unet, mode="reduce-overhead", fullgraph=True)
|
49 |
return PIPE
|
50 |
|
|
|
44 |
return PIPE
|
45 |
|
46 |
def pipe_i2i():
|
47 |
+
PIPE = StableDiffusionXLImg2ImgPipeline.from_pretrained("stabilityai/stable-diffusion-xl-refiner-1.0", torch_dtype=torch.float16, variant="fp16", use_safetensors=True)
|
48 |
PIPE.unet = torch.compile(PIPE.unet, mode="reduce-overhead", fullgraph=True)
|
49 |
return PIPE
|
50 |
|