aifeifei798 commited on
Commit
214b3f0
·
verified ·
1 Parent(s): cbd552e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -15,20 +15,20 @@ 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()
 
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()