Update app.py
Browse files
app.py
CHANGED
|
@@ -229,7 +229,7 @@ def load_model():
|
|
| 229 |
pipe.transformer=ll_transformer
|
| 230 |
pipe.load_lora_weights("ford442/sdxl-vae-bf16", weight_name="LoRA/UltraReal.safetensors")
|
| 231 |
pipe.to(device=device, dtype=torch.bfloat16)
|
| 232 |
-
pipe.vae=vae
|
| 233 |
upscaler_2 = UpscaleWithModel.from_pretrained("Kim2091/ClearRealityV1").to(device)
|
| 234 |
return pipe, upscaler_2
|
| 235 |
|
|
|
|
| 229 |
pipe.transformer=ll_transformer
|
| 230 |
pipe.load_lora_weights("ford442/sdxl-vae-bf16", weight_name="LoRA/UltraReal.safetensors")
|
| 231 |
pipe.to(device=device, dtype=torch.bfloat16)
|
| 232 |
+
pipe.vae=vae.to(device=device)
|
| 233 |
upscaler_2 = UpscaleWithModel.from_pretrained("Kim2091/ClearRealityV1").to(device)
|
| 234 |
return pipe, upscaler_2
|
| 235 |
|