Spaces:
Running
on
Zero
Running
on
Zero
Update feifeilib/feifeimodload.py
Browse files- feifeilib/feifeimodload.py +0 -33
feifeilib/feifeimodload.py
CHANGED
@@ -23,10 +23,6 @@ def feifeimodload():
|
|
23 |
"aifeifei798/DarkIdol-flux-v1.1", torch_dtype=dtype
|
24 |
).to(device)
|
25 |
|
26 |
-
#pipe = DiffusionPipeline.from_pretrained(
|
27 |
-
# "shuttleai/shuttle-3.1-aesthetic", torch_dtype=dtype
|
28 |
-
#).to(device)
|
29 |
-
|
30 |
pipe.load_lora_weights(
|
31 |
hf_hub_download("aifeifei798/feifei-flux-lora-v1.1", "feifei-v1.1.safetensors"),
|
32 |
adapter_name="feifei",
|
@@ -37,35 +33,6 @@ def feifeimodload():
|
|
37 |
adapter_name="Ultra-Realistic",
|
38 |
)
|
39 |
|
40 |
-
#pipe.load_lora_weights(
|
41 |
-
# hf_hub_download("adirik/flux-cinestill", "lora.safetensors"),
|
42 |
-
# adapter_name="fluxcinestill",
|
43 |
-
#)
|
44 |
-
|
45 |
-
#pipe.load_lora_weights(
|
46 |
-
# hf_hub_download(
|
47 |
-
# "aifeifei798/feifei-flux-lora-v1", "FLUX-dev-lora-add_details.safetensors"
|
48 |
-
# ),
|
49 |
-
# adapter_name="FLUX-dev-lora-add_details",
|
50 |
-
#)
|
51 |
-
|
52 |
-
#pipe.load_lora_weights(
|
53 |
-
# hf_hub_download(
|
54 |
-
# "aifeifei798/feifei-flux-lora-v1", "Shadow-Projection.safetensors"
|
55 |
-
# ),
|
56 |
-
# adapter_name="Shadow-Projection",
|
57 |
-
#)
|
58 |
-
|
59 |
-
#pipe.set_adapters(
|
60 |
-
# ["feifei", "FLUX-dev-lora-add_details", "Shadow-Projection"],
|
61 |
-
# adapter_weights=[0.65, 0.35, 0.35],
|
62 |
-
#)
|
63 |
-
|
64 |
-
#pipe.fuse_lora(
|
65 |
-
# adapter_name=["feifei", "FLUX-dev-lora-add_details", "Shadow-Projection"],
|
66 |
-
# lora_scale=1.0,
|
67 |
-
#)
|
68 |
-
|
69 |
pipe.set_adapters(
|
70 |
["feifei", "Ultra-Realistic"],
|
71 |
adapter_weights=[0.65, 0.65],
|
|
|
23 |
"aifeifei798/DarkIdol-flux-v1.1", torch_dtype=dtype
|
24 |
).to(device)
|
25 |
|
|
|
|
|
|
|
|
|
26 |
pipe.load_lora_weights(
|
27 |
hf_hub_download("aifeifei798/feifei-flux-lora-v1.1", "feifei-v1.1.safetensors"),
|
28 |
adapter_name="feifei",
|
|
|
33 |
adapter_name="Ultra-Realistic",
|
34 |
)
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
pipe.set_adapters(
|
37 |
["feifei", "Ultra-Realistic"],
|
38 |
adapter_weights=[0.65, 0.65],
|