Update README.md
Browse files
README.md
CHANGED
@@ -15,7 +15,7 @@ tags:
|
|
15 |
- disney princess
|
16 |
- disney frozen
|
17 |
base_model:
|
18 |
-
- stabilityai/stable-diffusion-
|
19 |
instance_prompt: null
|
20 |
widget:
|
21 |
- text: >-
|
@@ -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 |
```
|
|
|
15 |
- disney princess
|
16 |
- disney frozen
|
17 |
base_model:
|
18 |
+
- stabilityai/stable-diffusion-xl-base-1.0
|
19 |
instance_prompt: null
|
20 |
widget:
|
21 |
- text: >-
|
|
|
214 |
|
215 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
216 |
|
217 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', 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 |
```
|