fix tab indexes reset after restart ui

This commit is contained in:
Andray
2024-01-20 11:49:05 +04:00
parent cb5b335acd
commit 56676ff923
2 changed files with 3 additions and 3 deletions

View File

@@ -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'):