sunhaha123 commited on
Commit
9ded585
·
1 Parent(s): cde9607

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -0
README.md CHANGED
@@ -7,6 +7,8 @@ from diffusers import StableDiffusionPipeline
7
 
8
  pipe = StableDiffusionPipeline.from_pretrained("sd-dreambooth-library/fashion")
9
 
 
 
10
  prompt = "a photograph of an astronaut riding a horse"
11
 
12
  image = pipe(prompt).images[0]
 
7
 
8
  pipe = StableDiffusionPipeline.from_pretrained("sd-dreambooth-library/fashion")
9
 
10
+ pipe = pipe.to("cuda")
11
+
12
  prompt = "a photograph of an astronaut riding a horse"
13
 
14
  image = pipe(prompt).images[0]