From 5012fb70673bbb593c28c796dab14331b4f9f687 Mon Sep 17 00:00:00 2001 From: Manuel Schmid Date: Thu, 20 Jun 2024 02:20:49 +0200 Subject: [PATCH] feat: display first enhance tab as #1 --- webui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webui.py b/webui.py index b3b7025a..d1e3bf1f 100644 --- a/webui.py +++ b/webui.py @@ -348,14 +348,14 @@ with shared.gradio_root: with gr.Row(visible=False) as enhance_input_panel: with gr.Tabs(): - with gr.TabItem(label='Upscale or Variation'): + with gr.TabItem(label='#1'): with gr.Row(): with gr.Column(): - enhance_uov_method = gr.Radio(label='', show_label=False, choices=flags.uov_list, value=flags.disabled) + enhance_uov_method = gr.Radio(label='Upscale or Variation:', choices=flags.uov_list, value=flags.disabled) gr.HTML('\U0001F4D4 Document') enhance_ctrls = [] for index in range(modules.config.default_enhance_tabs): - with gr.TabItem(label=f'#{index + 1}') as enhance_tab_item: + with gr.TabItem(label=f'#{index + 2}') as enhance_tab_item: enhance_enabled = gr.Checkbox(label='Enable', value=False, elem_classes='min_check', container=False)