Spaces:
Running
on
Zero
Running
on
Zero
Update feifeilib/feifeimodload.py
Browse files
feifeilib/feifeimodload.py
CHANGED
@@ -28,18 +28,18 @@ def feifeimodload():
|
|
28 |
adapter_name="feifei",
|
29 |
)
|
30 |
|
31 |
-
|
32 |
-
|
33 |
-
|
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 |
|
|
|
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.65, 0.65],
|
39 |
)
|
40 |
|
41 |
pipe.fuse_lora(
|
42 |
+
adapter_name=["feifei", "Ultra-Realistic"],
|
43 |
lora_scale=1.0,
|
44 |
)
|
45 |
|