Spaces:
Running
on
Zero
Running
on
Zero
Fix another model cpu offload typo
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ sd2_1_pipe.enable_model_cpu_offload()
|
|
37 |
sdxl_pipe = StableDiffusionXLPipeline.from_pretrained(
|
38 |
"stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16
|
39 |
)
|
40 |
-
sdxl_pipe.
|
41 |
|
42 |
# sdxl flash
|
43 |
sdxl_flash_pipe = StableDiffusionXLPipeline.from_pretrained(
|
|
|
37 |
sdxl_pipe = StableDiffusionXLPipeline.from_pretrained(
|
38 |
"stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16
|
39 |
)
|
40 |
+
sdxl_pipe.enable_model_cpu_offload()
|
41 |
|
42 |
# sdxl flash
|
43 |
sdxl_flash_pipe = StableDiffusionXLPipeline.from_pretrained(
|