Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -36,7 +36,7 @@ from diffusers import AutoPipelineForText2Image
|
|
| 36 |
import torch
|
| 37 |
|
| 38 |
pipeline = AutoPipelineForText2Image.from_pretrained('ai-toolkit/Wan2.2-T2V-A14B-Diffusers-bf16', torch_dtype=torch.bfloat16).to('cuda')
|
| 39 |
-
pipeline.load_lora_weights('LL1999/my_first_lora_v2-lora', weight_name='
|
| 40 |
image = pipeline('a beautiful landscape').images[0]
|
| 41 |
image.save("my_image.png")
|
| 42 |
```
|
|
|
|
| 36 |
import torch
|
| 37 |
|
| 38 |
pipeline = AutoPipelineForText2Image.from_pretrained('ai-toolkit/Wan2.2-T2V-A14B-Diffusers-bf16', torch_dtype=torch.bfloat16).to('cuda')
|
| 39 |
+
pipeline.load_lora_weights('LL1999/my_first_lora_v2-lora', weight_name='my_first_lora_v2_high_noise.safetensors')
|
| 40 |
image = pipeline('a beautiful landscape').images[0]
|
| 41 |
image.save("my_image.png")
|
| 42 |
```
|