diff options
author | Sj-Si <sjw.jetty@gmail.com> | 2024-01-09 16:47:39 +0000 |
---|---|---|
committer | Sj-Si <sjw.jetty@gmail.com> | 2024-01-09 16:47:39 +0000 |
commit | 9dd25348248c06770897f4cde64e2663dfa9f2de (patch) | |
tree | 2c79a3fb54e75d712f163dec1968822086d8acbf | |
parent | 3cc7572f5dec429d265ce937249eb4b5cc18d0ba (diff) | |
download | stable-diffusion-webui-gfx803-9dd25348248c06770897f4cde64e2663dfa9f2de.tar.gz stable-diffusion-webui-gfx803-9dd25348248c06770897f4cde64e2663dfa9f2de.tar.bz2 stable-diffusion-webui-gfx803-9dd25348248c06770897f4cde64e2663dfa9f2de.zip |
Restore scale factor limit changes to master branch.
-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 5946678e..a57f9d4a 100644 --- a/scripts/postprocessing_upscale.py +++ b/scripts/postprocessing_upscale.py @@ -21,7 +21,7 @@ class ScriptPostprocessingUpscale(scripts_postprocessing.ScriptPostprocessing): with FormRow():
with gr.Tabs(elem_id="extras_resize_mode"):
with gr.TabItem('Scale by', elem_id="extras_scale_by_tab") as tab_scale_by:
- upscaling_resize = gr.Slider(minimum=1.0, maximum=100.0, step=0.05, label="Resize", value=2, elem_id="extras_upscaling_resize")
+ upscaling_resize = gr.Slider(minimum=1.0, maximum=8.0, step=0.05, label="Resize", value=4, elem_id="extras_upscaling_resize")
with gr.TabItem('Scale to', elem_id="extras_scale_to_tab") as tab_scale_to:
with FormRow():
|