eienmojiki commited on
Commit
148f2b1
·
verified ·
1 Parent(s): 0bc80eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -84,6 +84,7 @@ def load_pipeline(model_name):
84
  pipe = StableDiffusionXLPipeline.from_pretrained(
85
  model_name,
86
  torch_dtype=torch.float16,
 
87
  custom_pipeline="lpw_stable_diffusion_xl",
88
  safety_checker=None,
89
  use_safetensors=True,
 
84
  pipe = StableDiffusionXLPipeline.from_pretrained(
85
  model_name,
86
  torch_dtype=torch.float16,
87
+ variant="fp16",
88
  custom_pipeline="lpw_stable_diffusion_xl",
89
  safety_checker=None,
90
  use_safetensors=True,