wanghaofan
commited on
Commit
•
adcad1b
1
Parent(s):
0cce53c
Update README.md
Browse files
README.md
CHANGED
@@ -20,7 +20,7 @@ widget:
|
|
20 |
negative_prompt: (lowres, low quality, worst quality)
|
21 |
output:
|
22 |
url: images/fefeaac1e88b5883abdf0bc0403cf7c592104729148cc93ffe838b26.jpg
|
23 |
-
base_model: stabilityai/stable-diffusion-3-
|
24 |
instance_prompt: Futuristic bzonze-colored
|
25 |
license: other
|
26 |
license_name: stabilityai-ai-community
|
@@ -43,7 +43,7 @@ You should use `Futuristic bzonze-colored` to trigger the image generation.
|
|
43 |
import torch
|
44 |
from diffusers import StableDiffusion3Pipeline # please install diffusers from the source
|
45 |
|
46 |
-
pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3.5-large
|
47 |
pipe.load_lora_weights("Shakker-Labs/SD3.5-LoRA-Futuristic-Bzonze-Colored", weight_name="SD35-lora-Futuristic-Bzonze-Colored.safetensors")
|
48 |
pipe.fuse_lora(lora_scale=1.0)
|
49 |
pipe.to("cuda")
|
|
|
20 |
negative_prompt: (lowres, low quality, worst quality)
|
21 |
output:
|
22 |
url: images/fefeaac1e88b5883abdf0bc0403cf7c592104729148cc93ffe838b26.jpg
|
23 |
+
base_model: stabilityai/stable-diffusion-3.5-large
|
24 |
instance_prompt: Futuristic bzonze-colored
|
25 |
license: other
|
26 |
license_name: stabilityai-ai-community
|
|
|
43 |
import torch
|
44 |
from diffusers import StableDiffusion3Pipeline # please install diffusers from the source
|
45 |
|
46 |
+
pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3.5-large", torch_dtype=torch.bfloat16)
|
47 |
pipe.load_lora_weights("Shakker-Labs/SD3.5-LoRA-Futuristic-Bzonze-Colored", weight_name="SD35-lora-Futuristic-Bzonze-Colored.safetensors")
|
48 |
pipe.fuse_lora(lora_scale=1.0)
|
49 |
pipe.to("cuda")
|