Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def upload_to_ftp(filename):
|
|
61 |
pyx = cyper.inline(code, fast_indexing=True, directives=dict(boundscheck=False, wraparound=False, language_level=3))
|
62 |
|
63 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
64 |
-
vaeX=AutoencoderKL.from_pretrained("ford442/stable-diffusion-3.5-large-fp32", use_safetensors=True, subfolder='vae',token=True)
|
65 |
|
66 |
pipe = StableDiffusion3Pipeline.from_pretrained(
|
67 |
#"stabilityai # stable-diffusion-3.5-large",
|
|
|
61 |
pyx = cyper.inline(code, fast_indexing=True, directives=dict(boundscheck=False, wraparound=False, language_level=3))
|
62 |
|
63 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
64 |
+
vaeX=AutoencoderKL.from_pretrained("ford442/stable-diffusion-3.5-large-fp32", safety_checker=None, use_safetensors=True, subfolder='vae', low_cpu_mem_usage=False, token=True)
|
65 |
|
66 |
pipe = StableDiffusion3Pipeline.from_pretrained(
|
67 |
#"stabilityai # stable-diffusion-3.5-large",
|