Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def generate(
|
|
56 |
if torch.cuda.is_available():
|
57 |
|
58 |
if not use_vae:
|
59 |
-
pipe = DiffusionPipeline.
|
60 |
|
61 |
if use_vae:
|
62 |
vae = AutoencoderKL.from_pretrained(vaecall, torch_dtype=torch.float16)
|
|
|
56 |
if torch.cuda.is_available():
|
57 |
|
58 |
if not use_vae:
|
59 |
+
pipe = DiffusionPipeline.from_pretrained(model, torch_dtype=torch.float16)
|
60 |
|
61 |
if use_vae:
|
62 |
vae = AutoencoderKL.from_pretrained(vaecall, torch_dtype=torch.float16)
|