Update README.md
Browse files
README.md
CHANGED
|
@@ -22,7 +22,7 @@ from diffusers import StableDiffusionPipeline
|
|
| 22 |
model_id = "mlpc-lab/TokenCompose_SD21_B"
|
| 23 |
device = "cuda"
|
| 24 |
|
| 25 |
-
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.
|
| 26 |
pipe = pipe.to(device)
|
| 27 |
|
| 28 |
prompt = "A cat and a wine glass"
|
|
|
|
| 22 |
model_id = "mlpc-lab/TokenCompose_SD21_B"
|
| 23 |
device = "cuda"
|
| 24 |
|
| 25 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float32)
|
| 26 |
pipe = pipe.to(device)
|
| 27 |
|
| 28 |
prompt = "A cat and a wine glass"
|