keep postprocessing upscale selected tab after restart

This commit is contained in:
Andray 2024-01-20 15:37:49 +04:00
parent c1713bfeac
commit ed383eb5a0
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class ScriptPostprocessingUpscale(scripts_postprocessing.ScriptPostprocessing):
order = 1000 order = 1000
def ui(self): def ui(self):
selected_tab = gr.State(value=0) selected_tab = gr.Number(value=0, visible=False)
with gr.Column(): with gr.Column():
with FormRow(): with FormRow():