1inkusFace commited on
Commit
53396b4
·
verified ·
1 Parent(s): 938368a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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