From af96edffee4a495d20aa2c955c41de4640c57d37 Mon Sep 17 00:00:00 2001 From: csokun Date: Sun, 16 Jun 2024 11:44:10 +1000 Subject: [PATCH] prefer full UI --- .dockerignore | 1 + webui.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index d1eab8076d..029c446923 100644 --- a/.dockerignore +++ b/.dockerignore @@ -18,6 +18,7 @@ config.txt config_modification_tutorial.txt user_path_config.txt user_path_config-deprecated.txt +/models /modules/*.png /repositories /fooocus_env diff --git a/webui.py b/webui.py index 9e28a000a9..d9dc6c3d99 100644 --- a/webui.py +++ b/webui.py @@ -147,7 +147,7 @@ def skip_clicked(currentTask): with gr.Row(elem_classes='advanced_check_row'): input_image_checkbox = gr.Checkbox(label='Input Image', value=True, container=False, elem_classes='min_check') advanced_checkbox = gr.Checkbox(label='Advanced', value=modules.config.default_advanced_checkbox, container=False, elem_classes='min_check') - with gr.Row(visible=False) as image_input_panel: + with gr.Row(visible=True) as image_input_panel: with gr.Tabs(): with gr.TabItem(label='Upscale or Variation') as uov_tab: with gr.Row(): @@ -404,7 +404,7 @@ def update_history_link(): gr.HTML('\U0001F4D4 Document') dev_mode = gr.Checkbox(label='Developer Debug Mode', value=True, container=False) - with gr.Column(visible=False) as dev_tools: + with gr.Column(visible=True) as dev_tools: with gr.Tab(label='Debug Tools'): adm_scaler_positive = gr.Slider(label='Positive ADM Guidance Scaler', minimum=0.1, maximum=3.0, step=0.001, value=1.5, info='The scaler multiplied to positive ADM (use 1.0 to disable). ')