bobber commited on
Commit
9577c0f
·
verified ·
1 Parent(s): 5419785

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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
- # good_vae = AutoencoderKL.from_pretrained("John6666/biglove-ponyv20-sdxl", 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
- 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