aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui_postprocessing.py
diff options
context:
space:
mode:
authorAndray <light.and.ray@gmail.com>2024-01-20 07:49:05 +0000
committerAndray <light.and.ray@gmail.com>2024-01-20 07:49:05 +0000
commit56676ff923497901d56fcbca1ac549095e71d72d (patch)
treeaeb58e19d49141c8dd3a764360108a2be9d30e48 /modules/ui_postprocessing.py
parentcb5b335acddd126d4f6c990982816c06beb0d6ae (diff)
downloadstable-diffusion-webui-gfx803-56676ff923497901d56fcbca1ac549095e71d72d.tar.gz
stable-diffusion-webui-gfx803-56676ff923497901d56fcbca1ac549095e71d72d.tar.bz2
stable-diffusion-webui-gfx803-56676ff923497901d56fcbca1ac549095e71d72d.zip
fix tab indexes reset after restart ui
Diffstat (limited to 'modules/ui_postprocessing.py')
-rw-r--r--modules/ui_postprocessing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui_postprocessing.py b/modules/ui_postprocessing.py
index 7a132ac2..ff22a178 100644
--- a/modules/ui_postprocessing.py
+++ b/modules/ui_postprocessing.py
@@ -5,7 +5,7 @@ import modules.infotext_utils as parameters_copypaste
def create_ui():
dummy_component = gr.Label(visible=False)
- tab_index = gr.State(value=0)
+ tab_index = gr.Number(value=0, visible=False)
with gr.Row(equal_height=False, variant='compact'):
with gr.Column(variant='compact'):