Commit ed383eb5 authored by Andray's avatar Andray

keep postprocessing upscale selected tab after restart

parent c1713bfe
...@@ -15,7 +15,7 @@ class ScriptPostprocessingUpscale(scripts_postprocessing.ScriptPostprocessing): ...@@ -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():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment