philschmid HF staff commited on
Commit
fc05329
1 Parent(s): 0d5c628

fix code snippet

Browse files

The mode id in the code snippet was wrong

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -45,7 +45,7 @@ pip install --upgrade git+https://github.com/huggingface/diffusers.git transform
45
  ```python
46
  from diffusers import StableDiffusionInpaintPipeline
47
  pipe = StableDiffusionInpaintPipeline.from_pretrained(
48
- "stable-diffusion-2-inpainting",
49
  revision="fp16",
50
  torch_dtype=torch.float16,
51
  )
 
45
  ```python
46
  from diffusers import StableDiffusionInpaintPipeline
47
  pipe = StableDiffusionInpaintPipeline.from_pretrained(
48
+ "stabilityai/stable-diffusion-2-inpainting",
49
  revision="fp16",
50
  torch_dtype=torch.float16,
51
  )