Commit
·
fc05329
1
Parent(s):
0d5c628
fix code snippet
Browse filesThe mode id in the code snippet was wrong
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 |
)
|