mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 02:45:05 +08:00
keep postprocessing upscale selected tab after restart
This commit is contained in:
parent
c1713bfeac
commit
ed383eb5a0
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user