Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
@@ -1064,35 +1064,35 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", elem_id="main", css=CSS) as app:
|
|
1064 |
hires_negative_prompt_gui = gr.Textbox(label="Hires Negative Prompt", placeholder="Main negative prompt will be use", lines=3)
|
1065 |
|
1066 |
with gr.Accordion("LoRA", open=False, visible=True) as menu_lora:
|
1067 |
-
lora1_gui = gr.Dropdown(label="Lora1", choices=get_lora_tupled_list(lora_model_list), value="None",
|
1068 |
lora_scale_1_gui = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="Lora Scale 1")
|
1069 |
with gr.Row():
|
1070 |
with gr.Group():
|
1071 |
lora1_trigger_gui = gr.Textbox(label="Lora1 prompts", info="Example of prompt:", value="", show_copy_button=True, interactive=False, visible=False)
|
1072 |
lora1_copy_button = gr.Button(value="Copy example to prompt", visible=False)
|
1073 |
lora1_desc_gui = gr.Markdown(value="", visible=False)
|
1074 |
-
lora2_gui = gr.Dropdown(label="Lora2", choices=get_lora_tupled_list(lora_model_list), value="None",
|
1075 |
lora_scale_2_gui = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="Lora Scale 2")
|
1076 |
with gr.Row():
|
1077 |
with gr.Group():
|
1078 |
lora2_trigger_gui = gr.Textbox(label="Lora2 prompts", info="Example of prompt:", value="", show_copy_button=True, interactive=False, visible=False)
|
1079 |
lora2_copy_button = gr.Button(value="Copy example to prompt", visible=False)
|
1080 |
lora2_desc_gui = gr.Markdown(value="", visible=False)
|
1081 |
-
lora3_gui = gr.Dropdown(label="Lora3", choices=get_lora_tupled_list(lora_model_list), value="None",
|
1082 |
lora_scale_3_gui = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="Lora Scale 3")
|
1083 |
with gr.Row():
|
1084 |
with gr.Group():
|
1085 |
lora3_trigger_gui = gr.Textbox(label="Lora3 prompts", info="Example of prompt:", value="", show_copy_button=True, interactive=False, visible=False)
|
1086 |
lora3_copy_button = gr.Button(value="Copy example to prompt", visible=False)
|
1087 |
lora3_desc_gui = gr.Markdown(value="", visible=False)
|
1088 |
-
lora4_gui = gr.Dropdown(label="Lora4", choices=get_lora_tupled_list(lora_model_list), value="None",
|
1089 |
lora_scale_4_gui = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="Lora Scale 4")
|
1090 |
with gr.Row():
|
1091 |
with gr.Group():
|
1092 |
lora4_trigger_gui = gr.Textbox(label="Lora4 prompts", info="Example of prompt:", value="", show_copy_button=True, interactive=False, visible=False)
|
1093 |
lora4_copy_button = gr.Button(value="Copy example to prompt", visible=False)
|
1094 |
lora4_desc_gui = gr.Markdown(value="", visible=False)
|
1095 |
-
lora5_gui = gr.Dropdown(label="Lora5", choices=get_lora_tupled_list(lora_model_list), value="None",
|
1096 |
lora_scale_5_gui = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="Lora Scale 5")
|
1097 |
with gr.Row():
|
1098 |
with gr.Group():
|
@@ -1104,7 +1104,7 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", elem_id="main", css=CSS) as app:
|
|
1104 |
search_civitai_query_lora = gr.Textbox(label="Query", placeholder="oomuro sakurako...", lines=1)
|
1105 |
search_civitai_basemodel_lora = gr.CheckboxGroup(label="Search LoRA for", choices=["Pony", "SD 1.5", "SDXL 1.0"], value=["Pony", "SDXL 1.0"])
|
1106 |
search_civitai_button_lora = gr.Button("Search on Civitai")
|
1107 |
-
search_civitai_result_lora = gr.Dropdown(label="Search Results", choices=[("", "")], value="",
|
1108 |
search_civitai_desc_lora = gr.Markdown(value="", visible=False)
|
1109 |
text_lora = gr.Textbox(label="URL", placeholder="http://...my_lora_url.safetensors", lines=1)
|
1110 |
button_lora = gr.Button("Get and update lists of LoRAs")
|
|
|
1064 |
hires_negative_prompt_gui = gr.Textbox(label="Hires Negative Prompt", placeholder="Main negative prompt will be use", lines=3)
|
1065 |
|
1066 |
with gr.Accordion("LoRA", open=False, visible=True) as menu_lora:
|
1067 |
+
lora1_gui = gr.Dropdown(label="Lora1", choices=get_lora_tupled_list(lora_model_list), value="None", allow_custom_value=True)
|
1068 |
lora_scale_1_gui = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="Lora Scale 1")
|
1069 |
with gr.Row():
|
1070 |
with gr.Group():
|
1071 |
lora1_trigger_gui = gr.Textbox(label="Lora1 prompts", info="Example of prompt:", value="", show_copy_button=True, interactive=False, visible=False)
|
1072 |
lora1_copy_button = gr.Button(value="Copy example to prompt", visible=False)
|
1073 |
lora1_desc_gui = gr.Markdown(value="", visible=False)
|
1074 |
+
lora2_gui = gr.Dropdown(label="Lora2", choices=get_lora_tupled_list(lora_model_list), value="None", allow_custom_value=True)
|
1075 |
lora_scale_2_gui = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="Lora Scale 2")
|
1076 |
with gr.Row():
|
1077 |
with gr.Group():
|
1078 |
lora2_trigger_gui = gr.Textbox(label="Lora2 prompts", info="Example of prompt:", value="", show_copy_button=True, interactive=False, visible=False)
|
1079 |
lora2_copy_button = gr.Button(value="Copy example to prompt", visible=False)
|
1080 |
lora2_desc_gui = gr.Markdown(value="", visible=False)
|
1081 |
+
lora3_gui = gr.Dropdown(label="Lora3", choices=get_lora_tupled_list(lora_model_list), value="None", allow_custom_value=True)
|
1082 |
lora_scale_3_gui = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="Lora Scale 3")
|
1083 |
with gr.Row():
|
1084 |
with gr.Group():
|
1085 |
lora3_trigger_gui = gr.Textbox(label="Lora3 prompts", info="Example of prompt:", value="", show_copy_button=True, interactive=False, visible=False)
|
1086 |
lora3_copy_button = gr.Button(value="Copy example to prompt", visible=False)
|
1087 |
lora3_desc_gui = gr.Markdown(value="", visible=False)
|
1088 |
+
lora4_gui = gr.Dropdown(label="Lora4", choices=get_lora_tupled_list(lora_model_list), value="None", allow_custom_value=True)
|
1089 |
lora_scale_4_gui = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="Lora Scale 4")
|
1090 |
with gr.Row():
|
1091 |
with gr.Group():
|
1092 |
lora4_trigger_gui = gr.Textbox(label="Lora4 prompts", info="Example of prompt:", value="", show_copy_button=True, interactive=False, visible=False)
|
1093 |
lora4_copy_button = gr.Button(value="Copy example to prompt", visible=False)
|
1094 |
lora4_desc_gui = gr.Markdown(value="", visible=False)
|
1095 |
+
lora5_gui = gr.Dropdown(label="Lora5", choices=get_lora_tupled_list(lora_model_list), value="None", allow_custom_value=True)
|
1096 |
lora_scale_5_gui = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="Lora Scale 5")
|
1097 |
with gr.Row():
|
1098 |
with gr.Group():
|
|
|
1104 |
search_civitai_query_lora = gr.Textbox(label="Query", placeholder="oomuro sakurako...", lines=1)
|
1105 |
search_civitai_basemodel_lora = gr.CheckboxGroup(label="Search LoRA for", choices=["Pony", "SD 1.5", "SDXL 1.0"], value=["Pony", "SDXL 1.0"])
|
1106 |
search_civitai_button_lora = gr.Button("Search on Civitai")
|
1107 |
+
search_civitai_result_lora = gr.Dropdown(label="Search Results", choices=[("", "")], value="", allow_custom_value=True, visible=False)
|
1108 |
search_civitai_desc_lora = gr.Markdown(value="", visible=False)
|
1109 |
text_lora = gr.Textbox(label="URL", placeholder="http://...my_lora_url.safetensors", lines=1)
|
1110 |
button_lora = gr.Button("Get and update lists of LoRAs")
|