Update README.md
Browse files
README.md
CHANGED
@@ -214,7 +214,7 @@ import torch
|
|
214 |
|
215 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
216 |
|
217 |
-
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-
|
218 |
pipeline.load_lora_weights('Keltezaa/all-disney-princess-xl-lora-model-from-ralph-breaks-the-internet', weight_name='princess_xl_v2.safetensors')
|
219 |
image = pipeline('Jasmine, ,').images[0]
|
220 |
```
|
|
|
214 |
|
215 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
216 |
|
217 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-3.5-large', torch_dtype=torch.float16).to(device)
|
218 |
pipeline.load_lora_weights('Keltezaa/all-disney-princess-xl-lora-model-from-ralph-breaks-the-internet', weight_name='princess_xl_v2.safetensors')
|
219 |
image = pipeline('Jasmine, ,').images[0]
|
220 |
```
|