aifeifei798 commited on
Commit
dac412d
·
verified ·
1 Parent(s): 5535727

Update feifeilib/feifeimodload.py

Browse files
Files changed (1) hide show
  1. feifeilib/feifeimodload.py +7 -7
feifeilib/feifeimodload.py CHANGED
@@ -24,10 +24,10 @@ def feifeimodload():
24
  adapter_name="feifei",
25
  )
26
 
27
- pipe.load_lora_weights(
28
- hf_hub_download("aifeifei798/flux-nsfw-lora", "Sakimi_chan_-_FLUX.safetensors"),
29
- adapter_name="Sakimi_chan",
30
- )
31
 
32
  #pipe.load_lora_weights(
33
  # hf_hub_download("adirik/flux-cinestill", "lora.safetensors"),
@@ -59,12 +59,12 @@ def feifeimodload():
59
  #)
60
 
61
  pipe.set_adapters(
62
- ["feifei", "Sakimi_chan"],
63
- adapter_weights=[0.9,0.9],
64
  )
65
 
66
  pipe.fuse_lora(
67
- adapter_name=["feifei","Sakimi_chan"],
68
  lora_scale=1.0,
69
  )
70
 
 
24
  adapter_name="feifei",
25
  )
26
 
27
+ #pipe.load_lora_weights(
28
+ # hf_hub_download("aifeifei798/flux-nsfw-lora", "Sakimi_chan_-_FLUX.safetensors"),
29
+ # adapter_name="Sakimi_chan",
30
+ #)
31
 
32
  #pipe.load_lora_weights(
33
  # hf_hub_download("adirik/flux-cinestill", "lora.safetensors"),
 
59
  #)
60
 
61
  pipe.set_adapters(
62
+ ["feifei"],
63
+ adapter_weights=[0.9],
64
  )
65
 
66
  pipe.fuse_lora(
67
+ adapter_name=["feifei"],
68
  lora_scale=1.0,
69
  )
70