Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -225,12 +225,11 @@ def main():
|
|
225 |
|
226 |
repo="stabilityai/sd-vae-ft-mse-original"
|
227 |
ckpt="vae-ft-mse-840000-ema-pruned.safetensors"
|
228 |
-
vae = model(load_file(hf_hub_download(repo, ckpt), device=device)
|
229 |
-
vae = "./vae"
|
230 |
|
231 |
repo="ByteDance/SDXL-Lightning"
|
232 |
ckpt=f"sdxl_lightning_{step}step_unet.safetensors"
|
233 |
-
unet = model(load_file(hf_hub_download(repo, ckpt), device=device)
|
234 |
|
235 |
#repo = "SG161222/Realistic_Vision_V6.0_B1_noVAE"
|
236 |
|
|
|
225 |
|
226 |
repo="stabilityai/sd-vae-ft-mse-original"
|
227 |
ckpt="vae-ft-mse-840000-ema-pruned.safetensors"
|
228 |
+
vae = model(load_file(hf_hub_download(repo, ckpt), device=device))
|
|
|
229 |
|
230 |
repo="ByteDance/SDXL-Lightning"
|
231 |
ckpt=f"sdxl_lightning_{step}step_unet.safetensors"
|
232 |
+
unet = model(load_file(hf_hub_download(repo, ckpt), device=device))
|
233 |
|
234 |
#repo = "SG161222/Realistic_Vision_V6.0_B1_noVAE"
|
235 |
|