mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 10:31:17 -08:00
fix tab indexes reset after restart ui
This commit is contained in:
parent
cb5b335acd
commit
56676ff923
2 changed files with 3 additions and 3 deletions
|
|
@ -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'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue