Spaces:
Running
on
Zero
Running
on
Zero
change default model
Browse files
app.py
CHANGED
@@ -813,12 +813,12 @@ with gr.Blocks(theme="NoCrypt/miku", css=CSS) as app:
|
|
813 |
task_gui = gr.Dropdown(
|
814 |
label="Task",
|
815 |
choices=sdxl_task,
|
816 |
-
value=task_model_list[
|
817 |
)
|
818 |
model_name_gui = gr.Dropdown(
|
819 |
label="Model",
|
820 |
choices=model_list,
|
821 |
-
value=model_list[0],
|
822 |
allow_custom_value=True
|
823 |
)
|
824 |
prompt_gui = gr.Textbox(
|
|
|
813 |
task_gui = gr.Dropdown(
|
814 |
label="Task",
|
815 |
choices=sdxl_task,
|
816 |
+
value=task_model_list[0],
|
817 |
)
|
818 |
model_name_gui = gr.Dropdown(
|
819 |
label="Model",
|
820 |
choices=model_list,
|
821 |
+
value=model_list[-6] or model_list[0],
|
822 |
allow_custom_value=True
|
823 |
)
|
824 |
prompt_gui = gr.Textbox(
|