Update README.md
Browse files
README.md
CHANGED
@@ -30,11 +30,11 @@ pipe = pipe.to("cuda")
|
|
30 |
g = torch.Generator(device="cuda").manual_seed(42)
|
31 |
|
32 |
image = pipe("An android toy near Eiffel tower",
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
|
39 |
image.save("android_toy.png")
|
40 |
```
|
|
|
30 |
g = torch.Generator(device="cuda").manual_seed(42)
|
31 |
|
32 |
image = pipe("An android toy near Eiffel tower",
|
33 |
+
num_inference_steps=50,
|
34 |
+
num_images_per_prompt=1,
|
35 |
+
guidance_scale=7.5,
|
36 |
+
temperature=1.0,
|
37 |
+
generator=g).images[0]
|
38 |
|
39 |
image.save("android_toy.png")
|
40 |
```
|