1inkusFace commited on
Commit
390af65
·
verified ·
1 Parent(s): f863db1

Update app.py

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