Spaces:
Running
on
Zero
Running
on
Zero
Update feifeilib/feifeimodload.py
Browse files
feifeilib/feifeimodload.py
CHANGED
@@ -33,12 +33,12 @@ def feifeimodload():
|
|
33 |
# ),
|
34 |
# adapter_name="FLUX-dev-lora-add_details",
|
35 |
#)
|
36 |
-
pipe.load_lora_weights(
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
)
|
42 |
|
43 |
#pipe.set_adapters(
|
44 |
# ["feifei", "FLUX-dev-lora-add_details", "Shadow-Projection"],
|
@@ -50,11 +50,11 @@ def feifeimodload():
|
|
50 |
#)
|
51 |
|
52 |
pipe.set_adapters(
|
53 |
-
["feifei"
|
54 |
-
adapter_weights=[0.75
|
55 |
)
|
56 |
pipe.fuse_lora(
|
57 |
-
adapter_name=["feifei"
|
58 |
lora_scale=1.0,
|
59 |
)
|
60 |
|
|
|
33 |
# ),
|
34 |
# adapter_name="FLUX-dev-lora-add_details",
|
35 |
#)
|
36 |
+
#pipe.load_lora_weights(
|
37 |
+
# hf_hub_download(
|
38 |
+
# "aifeifei798/feifei-flux-lora-v1", "Shadow-Projection.safetensors"
|
39 |
+
# ),
|
40 |
+
# adapter_name="Shadow-Projection",
|
41 |
+
#)
|
42 |
|
43 |
#pipe.set_adapters(
|
44 |
# ["feifei", "FLUX-dev-lora-add_details", "Shadow-Projection"],
|
|
|
50 |
#)
|
51 |
|
52 |
pipe.set_adapters(
|
53 |
+
["feifei"],
|
54 |
+
adapter_weights=[0.75],
|
55 |
)
|
56 |
pipe.fuse_lora(
|
57 |
+
adapter_name=["feifei"],
|
58 |
lora_scale=1.0,
|
59 |
)
|
60 |
|