Update README.md
Browse files
README.md
CHANGED
@@ -18,7 +18,7 @@ from diffusers import StableDiffusionPipeline
|
|
18 |
import torch
|
19 |
|
20 |
# Load the model
|
21 |
-
model = StableDiffusionPipeline.from_pretrained("
|
22 |
|
23 |
# Generate an image
|
24 |
prompt = "A Disney-style portrait of a princess"
|
|
|
18 |
import torch
|
19 |
|
20 |
# Load the model
|
21 |
+
model = StableDiffusionPipeline.from_pretrained("Molkaatb/DisneyModel", torch_dtype=torch.float16).to("cuda")
|
22 |
|
23 |
# Generate an image
|
24 |
prompt = "A Disney-style portrait of a princess"
|