aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui_extra_networks.py
diff options
context:
space:
mode:
authorcatalpaaa <89681913+catalpaaa@users.noreply.github.com>2023-05-01 18:59:21 +0000
committerGitHub <noreply@github.com>2023-05-01 18:59:21 +0000
commit9eb5b3e90f1775af81c828f19e7caded70ba8884 (patch)
tree4630848311b90277462842669274852f7f6a972a /modules/ui_extra_networks.py
parentecdc6471e7d694ef9ecec96e8c3128237efe069a (diff)
parent72cd27a13587c9579942577e9e3880778be195f6 (diff)
downloadstable-diffusion-webui-gfx803-9eb5b3e90f1775af81c828f19e7caded70ba8884.tar.gz
stable-diffusion-webui-gfx803-9eb5b3e90f1775af81c828f19e7caded70ba8884.tar.bz2
stable-diffusion-webui-gfx803-9eb5b3e90f1775af81c828f19e7caded70ba8884.zip
Merge branch 'experimental' into subpath-support
Diffstat (limited to 'modules/ui_extra_networks.py')
-rw-r--r--modules/ui_extra_networks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui_extra_networks.py b/modules/ui_extra_networks.py
index 25eb464b..aa2f5d1b 100644
--- a/modules/ui_extra_networks.py
+++ b/modules/ui_extra_networks.py
@@ -241,7 +241,7 @@ def create_ui(container, button, tabname):
with gr.Tabs(elem_id=tabname+"_extra_tabs") as tabs:
for page in ui.stored_extra_pages:
- with gr.Tab(page.title):
+ with gr.Tab(page.title, id=page.title.lower().replace(" ", "_")):
page_elem = gr.HTML(page.create_html(ui.tabname))
ui.pages.append(page_elem)