Spaces:
Running
on
Zero
Running
on
Zero
Update feifeilib/feifeimodload.py
Browse files
feifeilib/feifeimodload.py
CHANGED
@@ -24,10 +24,10 @@ def feifeimodload():
|
|
24 |
adapter_name="feifei",
|
25 |
)
|
26 |
|
27 |
-
pipe.load_lora_weights(
|
28 |
-
|
29 |
-
|
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"
|
63 |
-
adapter_weights=[0.9
|
64 |
)
|
65 |
|
66 |
pipe.fuse_lora(
|
67 |
-
adapter_name=["feifei"
|
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 |
|