aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2024-01-22 20:20:30 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2024-01-22 20:20:30 +0000
commitf4e931f18fa4f94aece1f4dabd4dd0d635ecec13 (patch)
tree89f10f931a3808f6b603c2bb72ee70cb92e28c1c /modules/ui.py
parent569dc1919c23329ceaec2162f86ca0fafdee39f5 (diff)
downloadstable-diffusion-webui-gfx803-f4e931f18fa4f94aece1f4dabd4dd0d635ecec13.tar.gz
stable-diffusion-webui-gfx803-f4e931f18fa4f94aece1f4dabd4dd0d635ecec13.tar.bz2
stable-diffusion-webui-gfx803-f4e931f18fa4f94aece1f4dabd4dd0d635ecec13.zip
put extra networks controls row into the tabs UI element for #14588
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ui.py b/modules/ui.py
index ebd33a85..177c6872 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -266,7 +266,7 @@ def create_ui():
dummy_component = gr.Label(visible=False)
- extra_tabs = gr.Tabs(elem_id="txt2img_extra_tabs")
+ extra_tabs = gr.Tabs(elem_id="txt2img_extra_tabs", elem_classes=["extra-networks"])
extra_tabs.__enter__()
with gr.Tab("Generation", id="txt2img_generation") as txt2img_generation_tab, ResizeHandleRow(equal_height=False):
@@ -499,7 +499,7 @@ def create_ui():
with gr.Blocks(analytics_enabled=False) as img2img_interface:
toprow = ui_toprow.Toprow(is_img2img=True, is_compact=shared.opts.compact_prompt_box)
- extra_tabs = gr.Tabs(elem_id="img2img_extra_tabs")
+ extra_tabs = gr.Tabs(elem_id="img2img_extra_tabs", elem_classes=["extra-networks"])
extra_tabs.__enter__()
with gr.Tab("Generation", id="img2img_generation") as img2img_generation_tab, ResizeHandleRow(equal_height=False):