Update README.md
Browse files
README.md
CHANGED
@@ -21,12 +21,7 @@ pip install transformers
|
|
21 |
from diffusers import StableDiffusionPipeline
|
22 |
import torch
|
23 |
|
24 |
-
|
25 |
-
pipe = StableDiffusionPipeline.from_pretrained("stable-diffusion-v1-2", torch_dtype=torch.float16)
|
26 |
-
model_path = "en_lora_model"
|
27 |
-
'''
|
28 |
-
|
29 |
-
pipe = StableDiffusionPipeline.from_pretrained("Taiyi-Stable-Diffusion-1B-Chinese-v0.1", torch_dtype=torch.float16)
|
30 |
model_path = "svjack/pokemon-sd-lora-zh"
|
31 |
|
32 |
pipe.unet.load_attn_procs(model_path)
|
|
|
21 |
from diffusers import StableDiffusionPipeline
|
22 |
import torch
|
23 |
|
24 |
+
pipe = StableDiffusionPipeline.from_pretrained("IDEA-CCNL/Taiyi-Stable-Diffusion-1B-Chinese-v0.1", torch_dtype=torch.float16)
|
|
|
|
|
|
|
|
|
|
|
25 |
model_path = "svjack/pokemon-sd-lora-zh"
|
26 |
|
27 |
pipe.unet.load_attn_procs(model_path)
|