aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndray <light.and.ray@gmail.com>2024-01-20 11:37:49 +0000
committerAndray <light.and.ray@gmail.com>2024-01-20 11:37:49 +0000
commited383eb5a0db78d0da60420bb464943e4cc9b847 (patch)
treee815e0771ea1ed34fb9db87e68f834464aef3d9d
parentc1713bfeac461bc28158b66ef8d956a39e296b94 (diff)
downloadstable-diffusion-webui-gfx803-ed383eb5a0db78d0da60420bb464943e4cc9b847.tar.gz
stable-diffusion-webui-gfx803-ed383eb5a0db78d0da60420bb464943e4cc9b847.tar.bz2
stable-diffusion-webui-gfx803-ed383eb5a0db78d0da60420bb464943e4cc9b847.zip
keep postprocessing upscale selected tab after restart
-rw-r--r--scripts/postprocessing_upscale.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/postprocessing_upscale.py b/scripts/postprocessing_upscale.py
index a57f9d4a..e269682d 100644
--- a/scripts/postprocessing_upscale.py
+++ b/scripts/postprocessing_upscale.py
@@ -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():