rizavelioglu commited on
Commit
5055d31
·
verified ·
1 Parent(s): c3f0629

update vae

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ net.load_state_dict(torch.load(path_model, weights_only=False))
73
  net.eval().to(device)
74
 
75
  # Initialize VAE (only Decoder will be used)
76
- vae = AutoencoderKL.from_pretrained("CompVis/stable-diffusion-v1-4", subfolder="vae").eval().to(device)
77
 
78
  # Initialize the upscaler
79
  upscaler = UpscalerESRGAN(
 
73
  net.eval().to(device)
74
 
75
  # Initialize VAE (only Decoder will be used)
76
+ vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-mse").eval().to(device)
77
 
78
  # Initialize the upscaler
79
  upscaler = UpscalerESRGAN(