Update README.md
Browse files
README.md
CHANGED
@@ -13,6 +13,7 @@ This model is a diffusion model for text to image generation.
|
|
13 |
|
14 |
```python
|
15 |
from diffusers import StableDiffusionPipeline
|
|
|
16 |
|
17 |
pipeline = StableDiffusionPipeline.from_pretrained('MADZaMeR/stable_diffusion', torch_dtype=torch.float16
|
18 |
).to("cuda" if torch.cuda.is_available() else "cpu")
|
|
|
13 |
|
14 |
```python
|
15 |
from diffusers import StableDiffusionPipeline
|
16 |
+
import torch
|
17 |
|
18 |
pipeline = StableDiffusionPipeline.from_pretrained('MADZaMeR/stable_diffusion', torch_dtype=torch.float16
|
19 |
).to("cuda" if torch.cuda.is_available() else "cpu")
|