aifeifei798 commited on
Commit
003d6a3
·
verified ·
1 Parent(s): d1e7833

Update feifeilib/feifeimodload.py

Browse files
Files changed (1) hide show
  1. feifeilib/feifeimodload.py +9 -9
feifeilib/feifeimodload.py CHANGED
@@ -33,12 +33,12 @@ def feifeimodload():
33
  # ),
34
  # adapter_name="FLUX-dev-lora-add_details",
35
  #)
36
- #pipe.load_lora_weights(
37
- # hf_hub_download(
38
- # "aifeifei798/feifei-flux-lora-v1", "Shadow-Projection.safetensors"
39
- # ),
40
- # adapter_name="Shadow-Projection",
41
- #)
42
 
43
  #pipe.set_adapters(
44
  # ["feifei", "FLUX-dev-lora-add_details", "Shadow-Projection"],
@@ -50,11 +50,11 @@ def feifeimodload():
50
  #)
51
 
52
  pipe.set_adapters(
53
- ["feifei"],
54
- adapter_weights=[0.65],
55
  )
56
  pipe.fuse_lora(
57
- adapter_name=["feifei"],
58
  lora_scale=1.0,
59
  )
60
 
 
33
  # ),
34
  # adapter_name="FLUX-dev-lora-add_details",
35
  #)
36
+ pipe.load_lora_weights(
37
+ hf_hub_download(
38
+ "aifeifei798/feifei-flux-lora-v1", "Shadow-Projection.safetensors"
39
+ ),
40
+ adapter_name="Shadow-Projection",
41
+ )
42
 
43
  #pipe.set_adapters(
44
  # ["feifei", "FLUX-dev-lora-add_details", "Shadow-Projection"],
 
50
  #)
51
 
52
  pipe.set_adapters(
53
+ ["feifei","Shadow-Projection"],
54
+ adapter_weights=[0.75,0.35],
55
  )
56
  pipe.fuse_lora(
57
+ adapter_name=["feifei","Shadow-Projection"],
58
  lora_scale=1.0,
59
  )
60