Skip to content

Commit f939bce

Browse files
Merge pull request #14702 from light-and-ray/keep_postprocessing_upscale_selected_tab_after_restart
[Bug] Keep postprocessing upscale selected tab after restart
2 parents c1713bf + ed383eb commit f939bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/postprocessing_upscale.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ScriptPostprocessingUpscale(scripts_postprocessing.ScriptPostprocessing):
1515
order = 1000
1616

1717
def ui(self):
18-
selected_tab = gr.State(value=0)
18+
selected_tab = gr.Number(value=0, visible=False)
1919

2020
with gr.Column():
2121
with FormRow():

0 commit comments

Comments
 (0)