LPX55 commited on
Commit
27158da
·
verified ·
1 Parent(s): 38fce95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -59,15 +59,16 @@ pipe.scheduler = TCDScheduler.from_config(pipe.scheduler.config)
59
 
60
  pipe.to("cuda")
61
 
62
- # inpaint_model = hf_hub_download(
63
- # "andro-flock/LUSTIFY-SDXL-NSFW-checkpoint-v2-0-INPAINTING",
64
- # "lustifySDXLNSFW_v20-inpainting.safetensors",
65
- # )
66
- pipe_inpaint = StableDiffusionXLFillPipeline.from_pretrained(
67
  "andro-flock/LUSTIFY-SDXL-NSFW-checkpoint-v2-0-INPAINTING",
 
 
 
 
68
  torch_dtype=torch.float16,
69
  vae=vae,
70
  controlnet=model,
 
71
  )
72
  pipe_inpaint.to("cuda")
73
 
 
59
 
60
  pipe.to("cuda")
61
 
62
+ inpaint_model = hf_hub_download(
 
 
 
 
63
  "andro-flock/LUSTIFY-SDXL-NSFW-checkpoint-v2-0-INPAINTING",
64
+ "lustifySDXLNSFW_v20-inpainting.safetensors",
65
+ )
66
+ pipe_inpaint = StableDiffusionXLFillPipeline.from_pretrained(
67
+ inpaint_model,
68
  torch_dtype=torch.float16,
69
  vae=vae,
70
  controlnet=model,
71
+ use_safetensors=True
72
  )
73
  pipe_inpaint.to("cuda")
74