aifeifei798 commited on
Commit
2c58570
·
verified ·
1 Parent(s): 54512e4

Update feifeilib/feifeimodload.py

Browse files
Files changed (1) hide show
  1. feifeilib/feifeimodload.py +8 -8
feifeilib/feifeimodload.py CHANGED
@@ -27,10 +27,10 @@ def feifeimodload():
27
  # "shuttleai/shuttle-3.1-aesthetic", torch_dtype=dtype
28
  #).to(device)
29
 
30
- #pipe.load_lora_weights(
31
- # hf_hub_download("aifeifei798/feifei-flux-lora-v1.1", "feifei-v1.1.safetensors"),
32
- # adapter_name="feifei",
33
- #)
34
 
35
  #pipe.load_lora_weights(
36
  # hf_hub_download("aifeifei798/flux-nsfw-lora", "Sakimi_chan_-_FLUX.safetensors"),
@@ -66,10 +66,10 @@ def feifeimodload():
66
  # lora_scale=1.0,
67
  #)
68
 
69
- #pipe.set_adapters(
70
- # ["feifei"],
71
- # adapter_weights=[0.65],
72
- #)
73
 
74
  #pipe.fuse_lora(
75
  # adapter_name=["feifei"],
 
27
  # "shuttleai/shuttle-3.1-aesthetic", torch_dtype=dtype
28
  #).to(device)
29
 
30
+ pipe.load_lora_weights(
31
+ hf_hub_download("aifeifei798/feifei-flux-lora-v1.1", "feifei-v1.1.safetensors"),
32
+ adapter_name="feifei",
33
+ )
34
 
35
  #pipe.load_lora_weights(
36
  # hf_hub_download("aifeifei798/flux-nsfw-lora", "Sakimi_chan_-_FLUX.safetensors"),
 
66
  # lora_scale=1.0,
67
  #)
68
 
69
+ pipe.set_adapters(
70
+ ["feifei"],
71
+ adapter_weights=[0.65],
72
+ )
73
 
74
  #pipe.fuse_lora(
75
  # adapter_name=["feifei"],