diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2024-01-20 11:00:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 11:00:29 +0300 |
commit | 1dbee391b4e6be991f95a92503e490c95fb00c72 (patch) | |
tree | 7045f9b4b98591e87351d9161a2a8aee6f115617 /modules/ui_postprocessing.py | |
parent | a06ae54a18df81355cdcedb83032d61d058fab52 (diff) | |
parent | 56676ff923497901d56fcbca1ac549095e71d72d (diff) |
Merge pull request #14637 from light-and-ray/fix_tab_indexes_resets_after_restart_ui
[Bug] Fix tab indexes are reseted after restart UI
Diffstat (limited to 'modules/ui_postprocessing.py')
-rw-r--r-- | modules/ui_postprocessing.py | 2 |
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'):
|