lsb commited on
Commit
3b67ecf
1 Parent(s): e674f0f

from_pretrained

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def label_func(fn): return path/"labels"/f"{fn.stem}_P{fn.suffix}"
18
 
19
  segmodel = load_learner("camvid-512.pkl")
20
 
21
- inpainting_pipeline = AutoPipelineForInpainting(
22
  model="runwayml/stable-diffusion-inpainting",
23
  revision="fp16",
24
  torch_dtype=preferred_dtype,
 
18
 
19
  segmodel = load_learner("camvid-512.pkl")
20
 
21
+ inpainting_pipeline = AutoPipelineForInpainting.from_pretrained(
22
  model="runwayml/stable-diffusion-inpainting",
23
  revision="fp16",
24
  torch_dtype=preferred_dtype,