justinpinkney
commited on
Commit
•
ca6f97f
1
Parent(s):
ff5cc82
Update README.md
Browse files
README.md
CHANGED
@@ -28,7 +28,7 @@ from PIL import Image
|
|
28 |
device = "cuda:0"
|
29 |
sd_pipe = StableDiffusionImageVariationPipeline.from_pretrained("lambdalabs/sd-image-variations-diffusers")
|
30 |
sd_pipe = sd_pipe.to(device)
|
31 |
-
out = sd_pipe(image=Image.open("path/to/image.jpg"))
|
32 |
out["images"][0].save("result.jpg")
|
33 |
```
|
34 |
|
|
|
28 |
device = "cuda:0"
|
29 |
sd_pipe = StableDiffusionImageVariationPipeline.from_pretrained("lambdalabs/sd-image-variations-diffusers")
|
30 |
sd_pipe = sd_pipe.to(device)
|
31 |
+
out = sd_pipe(image=Image.open("path/to/image.jpg"), guidance_scale=3)
|
32 |
out["images"][0].save("result.jpg")
|
33 |
```
|
34 |
|