bobber commited on
Commit
5419785
·
verified ·
1 Parent(s): 2275c1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -13,8 +13,9 @@ 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
 
19
  MAX_SEED = np.iinfo(np.int32).max
20
 
 
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