Commit
·
e5739eb
1
Parent(s):
f8b4358
Update README.md
Browse files
README.md
CHANGED
@@ -2,9 +2,14 @@
|
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
import torch
|
|
|
5 |
from diffusers import StableDiffusionPipeline
|
6 |
|
7 |
pipe = StableDiffusionPipeline.from_pretrained("sd-dreambooth-library/fashsion")
|
|
|
8 |
prompt = "a photograph of an astronaut riding a horse"
|
|
|
9 |
image = pipe(prompt).images[0]
|
|
|
10 |
image.save(f"astronaut_rides_horse.png")
|
|
|
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
import torch
|
5 |
+
|
6 |
from diffusers import StableDiffusionPipeline
|
7 |
|
8 |
pipe = StableDiffusionPipeline.from_pretrained("sd-dreambooth-library/fashsion")
|
9 |
+
|
10 |
prompt = "a photograph of an astronaut riding a horse"
|
11 |
+
|
12 |
image = pipe(prompt).images[0]
|
13 |
+
|
14 |
image.save(f"astronaut_rides_horse.png")
|
15 |
+
|