Commit
·
2862e56
1
Parent(s):
333e783
Update README.md
Browse files
README.md
CHANGED
|
@@ -29,6 +29,7 @@ Code that was used to get the results:
|
|
| 29 |
```py
|
| 30 |
from diffusers import DiffusionPipeline, DDIMScheduler
|
| 31 |
import torch
|
|
|
|
| 32 |
|
| 33 |
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1", torch_dtype=torch.float16, safety_checker=None)
|
| 34 |
pipe.to("cuda")
|
|
|
|
| 29 |
```py
|
| 30 |
from diffusers import DiffusionPipeline, DDIMScheduler
|
| 31 |
import torch
|
| 32 |
+
import PIL
|
| 33 |
|
| 34 |
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1", torch_dtype=torch.float16, safety_checker=None)
|
| 35 |
pipe.to("cuda")
|