patrickvonplaten
commited on
Commit
•
bc4f83f
1
Parent(s):
7f35d0f
Update README.md
Browse files
README.md
CHANGED
@@ -31,7 +31,7 @@ from diffusers import DiffusionPipeline, DDIMScheduler
|
|
31 |
import torch
|
32 |
import PIL
|
33 |
|
34 |
-
pipe = DiffusionPipeline.from_pretrained("
|
35 |
pipe.to("cuda")
|
36 |
pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
|
37 |
|
|
|
31 |
import torch
|
32 |
import PIL
|
33 |
|
34 |
+
pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype=torch.float16, safety_checker=None)
|
35 |
pipe.to("cuda")
|
36 |
pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
|
37 |
|