nroggendorff
commited on
Commit
•
eceece0
1
Parent(s):
94e68a6
Update README.md
Browse files
README.md
CHANGED
@@ -12,10 +12,10 @@ You can use this with the 🧨Diffusers library from [Hugging Face](https://hugg
|
|
12 |
|
13 |
### Diffusers
|
14 |
```py
|
15 |
-
from diffusers import
|
16 |
import torch
|
17 |
|
18 |
-
pipeline =
|
19 |
|
20 |
image = pipeline(prompt="a chibi doll").images[0]
|
21 |
image.save("horse.png")
|
|
|
12 |
|
13 |
### Diffusers
|
14 |
```py
|
15 |
+
from diffusers import StableDiffusionXLPipeline
|
16 |
import torch
|
17 |
|
18 |
+
pipeline = StableDiffusionXLPipeline.from_pretrained("nroggendorff/ponyxl").to("cuda")
|
19 |
|
20 |
image = pipeline(prompt="a chibi doll").images[0]
|
21 |
image.save("horse.png")
|