Update README.md
Browse files
README.md
CHANGED
@@ -10,7 +10,7 @@ import torch
|
|
10 |
from diffusers import FluxPipeline
|
11 |
|
12 |
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
13 |
-
pipe.load_lora_weights("svjack/FLUX_Shenhe_Lora"
|
14 |
pipe.enable_sequential_cpu_offload()
|
15 |
|
16 |
prompt = "tj_sthenhe, hair ornament,sliver hair,long hair,braid,"
|
@@ -94,7 +94,7 @@ import torch
|
|
94 |
from pipeline_flux_regional import RegionalFluxPipeline, RegionalFluxAttnProcessor2_0
|
95 |
|
96 |
pipeline = RegionalFluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
97 |
-
pipeline.load_lora_weights("svjack/FLUX_Shenhe_Lora"
|
98 |
pipeline.to("cuda")
|
99 |
```
|
100 |
|
|
|
10 |
from diffusers import FluxPipeline
|
11 |
|
12 |
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
13 |
+
pipe.load_lora_weights("svjack/FLUX_Shenhe_Lora")
|
14 |
pipe.enable_sequential_cpu_offload()
|
15 |
|
16 |
prompt = "tj_sthenhe, hair ornament,sliver hair,long hair,braid,"
|
|
|
94 |
from pipeline_flux_regional import RegionalFluxPipeline, RegionalFluxAttnProcessor2_0
|
95 |
|
96 |
pipeline = RegionalFluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
97 |
+
pipeline.load_lora_weights("svjack/FLUX_Shenhe_Lora")
|
98 |
pipeline.to("cuda")
|
99 |
```
|
100 |
|