Spaces:
Running
on
Zero
Running
on
Zero
1inkusFace
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ pipe.load_lora_weights("ford442/sdxl-vae-bf16", weight_name="LoRA/UltraReal.safe
|
|
89 |
|
90 |
pipe.to(device=device, dtype=torch.bfloat16)
|
91 |
#pipe.to(device)
|
92 |
-
pipe.vae=vaeX
|
93 |
upscaler_2 = UpscaleWithModel.from_pretrained("Kim2091/ClearRealityV1").to(torch.device('cpu'))
|
94 |
|
95 |
MAX_SEED = np.iinfo(np.int32).max
|
|
|
89 |
|
90 |
pipe.to(device=device, dtype=torch.bfloat16)
|
91 |
#pipe.to(device)
|
92 |
+
pipe.vae=vaeX.to('cpu')
|
93 |
upscaler_2 = UpscaleWithModel.from_pretrained("Kim2091/ClearRealityV1").to(torch.device('cpu'))
|
94 |
|
95 |
MAX_SEED = np.iinfo(np.int32).max
|