Spaces:
Running
on
Zero
Running
on
Zero
Update feifeilib/feifeimodload.py
Browse files
feifeilib/feifeimodload.py
CHANGED
@@ -28,18 +28,23 @@ 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"],
|
38 |
-
adapter_weights=[0.8],
|
39 |
)
|
40 |
|
41 |
pipe.fuse_lora(
|
42 |
-
adapter_name=["feifei"],
|
43 |
lora_scale=1.0,
|
44 |
)
|
45 |
|
|
|
28 |
adapter_name="feifei",
|
29 |
)
|
30 |
|
31 |
+
pipe.load_lora_weights(
|
32 |
+
hf_hub_download("aifeifei798/AWPortraitCN", "AWPortraitCN.safetensors"),
|
33 |
+
adapter_name="AWPortraitCN",
|
34 |
+
)
|
35 |
+
|
36 |
#pipe.load_lora_weights(
|
37 |
# hf_hub_download("aifeifei798/flux-nsfw-lora", "Ultra-Realistic Nipple Generator_v2.safetensors"),
|
38 |
# adapter_name="Ultra-Realistic",
|
39 |
#)
|
40 |
|
41 |
pipe.set_adapters(
|
42 |
+
["feifei", "AWPortraitCN"],
|
43 |
+
adapter_weights=[0.8,0.5],
|
44 |
)
|
45 |
|
46 |
pipe.fuse_lora(
|
47 |
+
adapter_name=["feifei", "AWPortraitCN"],
|
48 |
lora_scale=1.0,
|
49 |
)
|
50 |
|