Update README.md
Browse files
README.md
CHANGED
|
@@ -28,6 +28,8 @@ from diffusers import DiffusionPipeline
|
|
| 28 |
import torch
|
| 29 |
|
| 30 |
pipeline = DiffusionPipeline.from_pretrained("ekshat/Stable_Diffussion_Anime_Style", torch_dtype=torch.float16)
|
|
|
|
|
|
|
| 31 |
prompt = "A person with blue eyes."
|
| 32 |
image = pipeline(prompt).images[0]
|
| 33 |
image.save("my_image.png")
|
|
|
|
| 28 |
import torch
|
| 29 |
|
| 30 |
pipeline = DiffusionPipeline.from_pretrained("ekshat/Stable_Diffussion_Anime_Style", torch_dtype=torch.float16)
|
| 31 |
+
pipeline = pipeline.to("cuda")
|
| 32 |
+
|
| 33 |
prompt = "A person with blue eyes."
|
| 34 |
image = pipeline(prompt).images[0]
|
| 35 |
image.save("my_image.png")
|