jychen0828
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -30,7 +30,7 @@ from huggingface_hub import hf_hub_download
|
|
30 |
from diffusers import FluxPipeline
|
31 |
|
32 |
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
33 |
-
pipe.load_lora_weights(hf_hub_download("RED-AIGC/TDD", "
|
34 |
pipe.fuse_lora(lora_scale=0.125)
|
35 |
pipe.to("cuda")
|
36 |
|
|
|
30 |
from diffusers import FluxPipeline
|
31 |
|
32 |
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
33 |
+
pipe.load_lora_weights(hf_hub_download("RED-AIGC/TDD", "FLUX.1-dev_tdd_adv_lora_weights.safetensors"))
|
34 |
pipe.fuse_lora(lora_scale=0.125)
|
35 |
pipe.to("cuda")
|
36 |
|