Merge pull request #14702 from light-and-ray/keep_postprocessing_upscale_selected_tab_after_restart

[Bug] Keep postprocessing upscale selected tab after restart
This commit is contained in:
AUTOMATIC1111 2024-01-20 14:56:53 +03:00 committed by GitHub
commit f939bce845
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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