mkrzyzan commited on
Commit
2950d3f
β€’
1 Parent(s): 2d19487

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,8 @@ import torch
5
  pipeline = StableDiffusionInpaintPipeline.from_pretrained(
6
  "runwayml/stable-diffusion-inpainting",
7
  torch_dtype=torch.float16,
8
- revision="fp16"
 
9
  )
10
 
11
  pipeline = pipeline.to("cuda")
 
5
  pipeline = StableDiffusionInpaintPipeline.from_pretrained(
6
  "runwayml/stable-diffusion-inpainting",
7
  torch_dtype=torch.float16,
8
+ use_safetensors=True,
9
+ variant="fp16"
10
  )
11
 
12
  pipeline = pipeline.to("cuda")