aifeifei798 commited on
Commit
d826c60
·
verified ·
1 Parent(s): afe505a

Update feifeilib/feifeimodload.py

Browse files
Files changed (1) hide show
  1. feifeilib/feifeimodload.py +4 -3
feifeilib/feifeimodload.py CHANGED
@@ -16,7 +16,7 @@ def feifeimodload():
16
  )
17
 
18
  pipe = DiffusionPipeline.from_pretrained(
19
- "aifeifei798/DarkIdol-flux-v1.1", torch_dtype=dtype, vae=taef1
20
  ).to(device)
21
 
22
  pipe.load_lora_weights(
@@ -35,6 +35,7 @@ def feifeimodload():
35
  # ),
36
  # adapter_name="FLUX-dev-lora-add_details",
37
  #)
 
38
  #pipe.load_lora_weights(
39
  # hf_hub_download(
40
  # "aifeifei798/feifei-flux-lora-v1", "Shadow-Projection.safetensors"
@@ -54,11 +55,11 @@ def feifeimodload():
54
 
55
  pipe.set_adapters(
56
  ["feifei"],
57
- adapter_weights=[0.9],
58
  )
59
 
60
  pipe.fuse_lora(
61
- adapter_name=["feifei","fluxcinestill"],
62
  lora_scale=1.0,
63
  )
64
 
 
16
  )
17
 
18
  pipe = DiffusionPipeline.from_pretrained(
19
+ "aifeifei798/DarkIdol-flux-v1", torch_dtype=dtype, vae=taef1
20
  ).to(device)
21
 
22
  pipe.load_lora_weights(
 
35
  # ),
36
  # adapter_name="FLUX-dev-lora-add_details",
37
  #)
38
+
39
  #pipe.load_lora_weights(
40
  # hf_hub_download(
41
  # "aifeifei798/feifei-flux-lora-v1", "Shadow-Projection.safetensors"
 
55
 
56
  pipe.set_adapters(
57
  ["feifei"],
58
+ adapter_weights=[0.65],
59
  )
60
 
61
  pipe.fuse_lora(
62
+ adapter_name=["feifei"],
63
  lora_scale=1.0,
64
  )
65