Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -121,8 +121,8 @@ pipe.load_lora_weights("hank87/mysticxxxQWEN",
|
|
| 121 |
pipe.load_lora_weights("wiikoo/Qwen-lora-nsfw",
|
| 122 |
weight_name="loras2/consistence_edit_v2.safetensors",
|
| 123 |
adapter_name="relight")
|
| 124 |
-
pipe.load_lora_weights("
|
| 125 |
-
weight_name="
|
| 126 |
adapter_name="multi-angle-lighting")
|
| 127 |
pipe.load_lora_weights("wiikoo/Qwen-lora-nsfw",
|
| 128 |
weight_name="loras-2/qwen真实+一致性-A2R_2509_Base.safetensors",
|
|
@@ -181,7 +181,7 @@ def infer(
|
|
| 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])
|
| 184 |
-
elif lora_adapter == "
|
| 185 |
pipe.set_adapters(["multi-angle-lighting"], adapter_weights=[1.0])
|
| 186 |
elif lora_adapter == "A2R_2509_Base":
|
| 187 |
pipe.set_adapters(["edit-skin"], 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", "Mystic_XXX_Qwen", "
|
| 258 |
value="QWEN_MCNL"
|
| 259 |
)
|
| 260 |
with gr.Accordion("Advanced Settings", open=False, visible=False):
|
|
|
|
| 121 |
pipe.load_lora_weights("wiikoo/Qwen-lora-nsfw",
|
| 122 |
weight_name="loras2/consistence_edit_v2.safetensors",
|
| 123 |
adapter_name="relight")
|
| 124 |
+
pipe.load_lora_weights("nicras/qwen_nudity",
|
| 125 |
+
weight_name="jib_qwen_fix_000002750.safetensors",
|
| 126 |
adapter_name="multi-angle-lighting")
|
| 127 |
pipe.load_lora_weights("wiikoo/Qwen-lora-nsfw",
|
| 128 |
weight_name="loras-2/qwen真实+一致性-A2R_2509_Base.safetensors",
|
|
|
|
| 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])
|
| 184 |
+
elif lora_adapter == "Jib":
|
| 185 |
pipe.set_adapters(["multi-angle-lighting"], adapter_weights=[1.0])
|
| 186 |
elif lora_adapter == "A2R_2509_Base":
|
| 187 |
pipe.set_adapters(["edit-skin"], adapter_weights=[1.0])
|
|
|
|
| 254 |
with gr.Row():
|
| 255 |
lora_adapter = gr.Dropdown(
|
| 256 |
label="Choose Editing Style",
|
| 257 |
+
choices=["QWEN_MCNL", "Multiple-Angles", "Mystic_XXX_Qwen", "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):
|