Spaces:
Running
on
Zero
Running
on
Zero
aifeifei798
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -15,21 +15,6 @@ def feifeimodload():
|
|
15 |
"aifeifei798/DarkIdol-flux-v1.1", torch_dtype=dtype
|
16 |
).to(device)
|
17 |
|
18 |
-
#pipe.load_lora_weights(
|
19 |
-
# hf_hub_download("aifeifei798/flux-nsfw-lora", "Ultra-Realistic Nipple Generator_v2.safetensors"),
|
20 |
-
# adapter_name="Ultra-Realistic",
|
21 |
-
#)
|
22 |
-
|
23 |
-
#pipe.set_adapters(
|
24 |
-
# ["Ultra-Realistic"],
|
25 |
-
# adapter_weights=[0.75],
|
26 |
-
#)
|
27 |
-
|
28 |
-
#pipe.fuse_lora(
|
29 |
-
# adapter_name=["Ultra-Realistic"],
|
30 |
-
# lora_scale=1.0,
|
31 |
-
#)
|
32 |
-
|
33 |
pipe.vae.enable_slicing()
|
34 |
pipe.vae.enable_tiling()
|
35 |
pipe.unload_lora_weights()
|
|
|
15 |
"aifeifei798/DarkIdol-flux-v1.1", torch_dtype=dtype
|
16 |
).to(device)
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
pipe.vae.enable_slicing()
|
19 |
pipe.vae.enable_tiling()
|
20 |
pipe.unload_lora_weights()
|