Spaces:
Running
on
Zero
Running
on
Zero
update vae
Browse files
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("
|
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(
|