diff options
| author | AUTOMATIC1111 <16777216c@gmail.com> | 2024-01-20 14:56:53 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-20 14:56:53 +0300 |
| commit | f939bce845ae07536b1c920618743af83e0b01ec (patch) | |
| tree | e815e0771ea1ed34fb9db87e68f834464aef3d9d | |
| parent | c1713bfeac461bc28158b66ef8d956a39e296b94 (diff) | |
| parent | ed383eb5a0db78d0da60420bb464943e4cc9b847 (diff) | |
| download | stable-diffusion-webui-gfx803-f939bce845ae07536b1c920618743af83e0b01ec.tar.gz | |
Merge pull request #14702 from light-and-ray/keep_postprocessing_upscale_selected_tab_after_restart
[Bug] 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():
|
