Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -115,8 +115,8 @@ pipe.load_lora_weights("Daverrrr75/QWEN_MCNL",
|
|
| 115 |
pipe.load_lora_weights("dx8152/Qwen-Edit-2509-Multiple-angles",
|
| 116 |
weight_name="镜头转换.safetensors",
|
| 117 |
adapter_name="multiple-angles")
|
| 118 |
-
pipe.load_lora_weights("
|
| 119 |
-
weight_name="Qwen-
|
| 120 |
adapter_name="light-restoration")
|
| 121 |
pipe.load_lora_weights("wiikoo/Qwen-lora-nsfw",
|
| 122 |
weight_name="loras2/consistence_edit_v2.safetensors",
|
|
@@ -177,7 +177,7 @@ def infer(
|
|
| 177 |
pipe.set_adapters(["anime"], adapter_weights=[1.0])
|
| 178 |
elif lora_adapter == "Multiple-Angles":
|
| 179 |
pipe.set_adapters(["multiple-angles"], adapter_weights=[1.0])
|
| 180 |
-
elif lora_adapter == "
|
| 181 |
pipe.set_adapters(["light-restoration"], adapter_weights=[1.0])
|
| 182 |
elif lora_adapter == "Qwen-lora-nsfw":
|
| 183 |
pipe.set_adapters(["relight"], adapter_weights=[1.0])
|
|
@@ -254,7 +254,7 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
|
|
| 254 |
with gr.Row():
|
| 255 |
lora_adapter = gr.Dropdown(
|
| 256 |
label="Choose Editing Style",
|
| 257 |
-
choices=["QWEN_MCNL", "Multiple-Angles", "
|
| 258 |
value="QWEN_MCNL"
|
| 259 |
)
|
| 260 |
with gr.Accordion("Advanced Settings", open=False, visible=False):
|
|
|
|
| 115 |
pipe.load_lora_weights("dx8152/Qwen-Edit-2509-Multiple-angles",
|
| 116 |
weight_name="镜头转换.safetensors",
|
| 117 |
adapter_name="multiple-angles")
|
| 118 |
+
pipe.load_lora_weights("wiikoo/Qwen-lora-nsfw",
|
| 119 |
+
weight_name="loras/Qwen-Real PS_v1_83K.safetensors",
|
| 120 |
adapter_name="light-restoration")
|
| 121 |
pipe.load_lora_weights("wiikoo/Qwen-lora-nsfw",
|
| 122 |
weight_name="loras2/consistence_edit_v2.safetensors",
|
|
|
|
| 177 |
pipe.set_adapters(["anime"], adapter_weights=[1.0])
|
| 178 |
elif lora_adapter == "Multiple-Angles":
|
| 179 |
pipe.set_adapters(["multiple-angles"], adapter_weights=[1.0])
|
| 180 |
+
elif lora_adapter == "Real PS":
|
| 181 |
pipe.set_adapters(["light-restoration"], adapter_weights=[1.0])
|
| 182 |
elif lora_adapter == "Qwen-lora-nsfw":
|
| 183 |
pipe.set_adapters(["relight"], adapter_weights=[1.0])
|
|
|
|
| 254 |
with gr.Row():
|
| 255 |
lora_adapter = gr.Dropdown(
|
| 256 |
label="Choose Editing Style",
|
| 257 |
+
choices=["QWEN_MCNL", "Multiple-Angles", "Real PS", "Jib", "[QWEN] Send Nud", "Qwen-lora-nsfw", "Next-Scene", "A2R_2509_Base"],
|
| 258 |
value="QWEN_MCNL"
|
| 259 |
)
|
| 260 |
with gr.Accordion("Advanced Settings", open=False, visible=False):
|