aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndray <light.and.ray@gmail.com>2024-01-20 15:37:49 +0400
committerAndray <light.and.ray@gmail.com>2024-01-20 15:37:49 +0400
commited383eb5a0db78d0da60420bb464943e4cc9b847 (patch)
treee815e0771ea1ed34fb9db87e68f834464aef3d9d /scripts
parentc1713bfeac461bc28158b66ef8d956a39e296b94 (diff)
keep postprocessing upscale selected tab after restart
Diffstat (limited to 'scripts')
-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():