Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ def load_and_prepare_model(model_id):
|
|
115 |
# torch_dtype=torch.bfloat16,
|
116 |
add_watermarker=False,
|
117 |
use_safetensors=True,
|
118 |
-
vae=AutoencoderKL.from_pretrained("BeastHF/MyBack_SDXL_Juggernaut_XL_VAE/MyBack_SDXL_Juggernaut_XL_VAE_V10(version_X).safetensors",repo_type=model,safety_checker=None),
|
119 |
scheduler=EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config, beta_schedule="scaled_linear", beta_start =0.00085,beta_end =0.012,steps_offset =1)
|
120 |
).to(device=device, dtype=torch.bfloat16)
|
121 |
# sched = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config, beta_schedule="scaled_linear", beta_start =0.00085,beta_end =0.012,steps_offset =1,)
|
|
|
115 |
# torch_dtype=torch.bfloat16,
|
116 |
add_watermarker=False,
|
117 |
use_safetensors=True,
|
118 |
+
vae=AutoencoderKL.from_pretrained("BeastHF/MyBack_SDXL_Juggernaut_XL_VAE/MyBack_SDXL_Juggernaut_XL_VAE_V10(version_X).safetensors",repo_type='model',safety_checker=None),
|
119 |
scheduler=EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config, beta_schedule="scaled_linear", beta_start =0.00085,beta_end =0.012,steps_offset =1)
|
120 |
).to(device=device, dtype=torch.bfloat16)
|
121 |
# sched = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config, beta_schedule="scaled_linear", beta_start =0.00085,beta_end =0.012,steps_offset =1,)
|