aifeifei798 commited on
Commit
dbfa9ee
·
verified ·
1 Parent(s): 6cca217

Update feifeilib/feifeimodload.py

Browse files
Files changed (1) hide show
  1. feifeilib/feifeimodload.py +8 -8
feifeilib/feifeimodload.py CHANGED
@@ -20,7 +20,7 @@ def feifeimodload():
20
  #).to(device)
21
 
22
  pipe = DiffusionPipeline.from_pretrained(
23
- "aifeifei798/DarkIdol-flux-v1.1", torch_dtype=dtype
24
  ).to(device)
25
 
26
  pipe.load_lora_weights(
@@ -28,18 +28,18 @@ def feifeimodload():
28
  adapter_name="feifei",
29
  )
30
 
31
- pipe.load_lora_weights(
32
- hf_hub_download("aifeifei798/flux-nsfw-lora", "Ultra-Realistic Nipple Generator_v2.safetensors"),
33
- adapter_name="Ultra-Realistic",
34
- )
35
 
36
  pipe.set_adapters(
37
- ["feifei", "Ultra-Realistic"],
38
- adapter_weights=[0.8, 0.85],
39
  )
40
 
41
  pipe.fuse_lora(
42
- adapter_name=["feifei", "Ultra-Realistic"],
43
  lora_scale=1.0,
44
  )
45
 
 
20
  #).to(device)
21
 
22
  pipe = DiffusionPipeline.from_pretrained(
23
+ "aifeifei798/DarkIdol-flux-v1", torch_dtype=dtype
24
  ).to(device)
25
 
26
  pipe.load_lora_weights(
 
28
  adapter_name="feifei",
29
  )
30
 
31
+ #pipe.load_lora_weights(
32
+ # hf_hub_download("aifeifei798/flux-nsfw-lora", "Ultra-Realistic Nipple Generator_v2.safetensors"),
33
+ # adapter_name="Ultra-Realistic",
34
+ #)
35
 
36
  pipe.set_adapters(
37
+ ["feifei"],
38
+ adapter_weights=[0.65],
39
  )
40
 
41
  pipe.fuse_lora(
42
+ adapter_name=["feifei"],
43
  lora_scale=1.0,
44
  )
45