Commit
·
1fe9aa2
1
Parent(s):
d497d7c
fix code snippet (#12)
Browse files- fix code snippet (fc05329f2715d2f0a7ea1812ce42c7fd28fc5b10)
Co-authored-by: Philipp Schmid <[email protected]>
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 |
)
|