Change of model path
Browse files- Changed model path to "diffusers/stable-diffusion-xl-1.0-inpainting-0.1" in the How to use section
The old model path seems to be wrong.
README.md
CHANGED
@@ -27,7 +27,7 @@ from diffusers import AutoPipelineForInpainting
|
|
27 |
from diffusers.utils import load_image
|
28 |
import torch
|
29 |
|
30 |
-
pipe = AutoPipelineForInpainting.from_pretrained("
|
31 |
|
32 |
img_url = "https://raw.githubusercontent.com/CompVis/latent-diffusion/main/data/inpainting_examples/overture-creations-5sI6fQgYIuo.png"
|
33 |
mask_url = "https://raw.githubusercontent.com/CompVis/latent-diffusion/main/data/inpainting_examples/overture-creations-5sI6fQgYIuo_mask.png"
|
|
|
27 |
from diffusers.utils import load_image
|
28 |
import torch
|
29 |
|
30 |
+
pipe = AutoPipelineForInpainting.from_pretrained("diffusers/stable-diffusion-xl-1.0-inpainting-0.1", torch_dtype=torch.float16, variant="fp16").to("cuda")
|
31 |
|
32 |
img_url = "https://raw.githubusercontent.com/CompVis/latent-diffusion/main/data/inpainting_examples/overture-creations-5sI6fQgYIuo.png"
|
33 |
mask_url = "https://raw.githubusercontent.com/CompVis/latent-diffusion/main/data/inpainting_examples/overture-creations-5sI6fQgYIuo_mask.png"
|