diff options
author | Andray <light.and.ray@gmail.com> | 2024-01-20 11:37:49 +0000 |
---|---|---|
committer | Andray <light.and.ray@gmail.com> | 2024-01-20 11:37:49 +0000 |
commit | ed383eb5a0db78d0da60420bb464943e4cc9b847 (patch) | |
tree | e815e0771ea1ed34fb9db87e68f834464aef3d9d | |
parent | c1713bfeac461bc28158b66ef8d956a39e296b94 (diff) | |
download | stable-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.py | 2 |
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():
|