1inkusFace commited on
Commit
f0e20af
·
verified ·
1 Parent(s): 2ee1539

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ pipe.load_lora_weights("ford442/sdxl-vae-bf16", weight_name="LoRA/UltraReal.safe
83
 
84
  pipe.to(device=device, dtype=torch.bfloat16)
85
  #pipe.to(device)
86
- #pipe.vae=vaeX.to('cpu')
87
  upscaler_2 = UpscaleWithModel.from_pretrained("Kim2091/ClearRealityV1").to(torch.device('cpu'))
88
 
89
  MAX_SEED = np.iinfo(np.int32).max
 
83
 
84
  pipe.to(device=device, dtype=torch.bfloat16)
85
  #pipe.to(device)
86
+ pipe.vae=vaeX.to('cpu')
87
  upscaler_2 = UpscaleWithModel.from_pretrained("Kim2091/ClearRealityV1").to(torch.device('cpu'))
88
 
89
  MAX_SEED = np.iinfo(np.int32).max