from_pretrained
Browse files
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,
|