ford442 commited on
Commit
d16b9a6
Β·
verified Β·
1 Parent(s): a47f2ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -208,7 +208,7 @@ def load_and_prepare_model(model_id):
208
  #pipe.vae=vae.to(torch.bfloat16)
209
  #pipe.unet=pipeX.unet
210
  #pipe.scheduler=EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config, beta_schedule="scaled_linear", beta_start=0.00085, beta_end=0.012, steps_offset=1)
211
- #pipe.scheduler=EulerAncestralDiscreteScheduler.from_pretrained('ford442/RealVisXL_V5.0_BF16', subfolder='scheduler',beta_schedule="scaled_linear")
212
 
213
  pipe.to(device=device, dtype=torch.bfloat16)
214
  #pipe.to(torch.bfloat16)
 
208
  #pipe.vae=vae.to(torch.bfloat16)
209
  #pipe.unet=pipeX.unet
210
  #pipe.scheduler=EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config, beta_schedule="scaled_linear", beta_start=0.00085, beta_end=0.012, steps_offset=1)
211
+ pipe.scheduler=EulerAncestralDiscreteScheduler.from_pretrained('ford442/RealVisXL_V5.0_BF16', subfolder='scheduler',beta_schedule="scaled_linear")
212
 
213
  pipe.to(device=device, dtype=torch.bfloat16)
214
  #pipe.to(torch.bfloat16)