diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2024-01-22 20:20:30 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2024-01-22 20:20:30 +0000 |
commit | f4e931f18fa4f94aece1f4dabd4dd0d635ecec13 (patch) | |
tree | 89f10f931a3808f6b603c2bb72ee70cb92e28c1c /modules/ui.py | |
parent | 569dc1919c23329ceaec2162f86ca0fafdee39f5 (diff) | |
download | stable-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.py | 4 |
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):
|