Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -13,9 +13,8 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
13 |
#good_vae = AutoencoderKL.from_pretrained("black-forest-labs/FLUX.1-dev", subfolder="vae", torch_dtype=dtype).to(device)
|
14 |
|
15 |
# from bobber/bigasp2 to John6666/biglove-ponyv20-sdxl
|
16 |
-
|
17 |
-
|
18 |
-
pipeline = StableDiffusionXLPipeline.from_pretrained("John6666/biglove-ponyv20-sdxl", torch_dtype=dtype).to(device)
|
19 |
|
20 |
MAX_SEED = np.iinfo(np.int32).max
|
21 |
|
|
|
13 |
#good_vae = AutoencoderKL.from_pretrained("black-forest-labs/FLUX.1-dev", subfolder="vae", torch_dtype=dtype).to(device)
|
14 |
|
15 |
# from bobber/bigasp2 to John6666/biglove-ponyv20-sdxl
|
16 |
+
good_vae = AutoencoderKL.from_pretrained("bobber/bigasp2", subfolder="vae", torch_dtype=dtype).to(device)
|
17 |
+
pipeline = StableDiffusionXLPipeline.from_pretrained("John6666/biglove-ponyv20-sdxl", torch_dtype=dtype, vae=good_vae).to(device)
|
|
|
18 |
|
19 |
MAX_SEED = np.iinfo(np.int32).max
|
20 |
|