wanghaofan
commited on
Commit
•
4349d7c
1
Parent(s):
264e165
Update README.md
Browse files
README.md
CHANGED
@@ -56,7 +56,7 @@ You should use `Linear red light` to trigger the image generation.
|
|
56 |
|
57 |
```python
|
58 |
import torch
|
59 |
-
from diffusers import StableDiffusion3Pipeline #
|
60 |
|
61 |
pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3.5-large", torch_dtype=torch.bfloat16)
|
62 |
pipe.load_lora_weights("Shakker-Labs/SD3.5-LoRA-Linear-Red-Light", weight_name="SD35-lora-Linear-Red-Light.safetensors")
|
|
|
56 |
|
57 |
```python
|
58 |
import torch
|
59 |
+
from diffusers import StableDiffusion3Pipeline # pip install diffusers>=0.31.0
|
60 |
|
61 |
pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3.5-large", torch_dtype=torch.bfloat16)
|
62 |
pipe.load_lora_weights("Shakker-Labs/SD3.5-LoRA-Linear-Red-Light", weight_name="SD35-lora-Linear-Red-Light.safetensors")
|