diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2024-01-09 16:52:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 16:52:54 +0000 |
commit | abb630108e99c9dd761a1388499664d944a4a9ee (patch) | |
tree | 8948e4661e88480155e3e78f4eff01460263dcbd /scripts | |
parent | 751d014cd69fcbc34ad0e9450227548874d70aca (diff) | |
parent | 9dd25348248c06770897f4cde64e2663dfa9f2de (diff) | |
download | stable-diffusion-webui-gfx803-abb630108e99c9dd761a1388499664d944a4a9ee.tar.gz stable-diffusion-webui-gfx803-abb630108e99c9dd761a1388499664d944a4a9ee.tar.bz2 stable-diffusion-webui-gfx803-abb630108e99c9dd761a1388499664d944a4a9ee.zip |
Merge pull request #14589 from Sj-Si/hotfix/remove-upscaler-size-limits
Increase Upscaler Limits
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/postprocessing_upscale.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/postprocessing_upscale.py b/scripts/postprocessing_upscale.py index ed709688..a57f9d4a 100644 --- a/scripts/postprocessing_upscale.py +++ b/scripts/postprocessing_upscale.py @@ -26,8 +26,8 @@ class ScriptPostprocessingUpscale(scripts_postprocessing.ScriptPostprocessing): with gr.TabItem('Scale to', elem_id="extras_scale_to_tab") as tab_scale_to:
with FormRow():
with gr.Column(elem_id="upscaling_column_size", scale=4):
- upscaling_resize_w = gr.Slider(minimum=64, maximum=2048, step=8, label="Width", value=512, elem_id="extras_upscaling_resize_w")
- upscaling_resize_h = gr.Slider(minimum=64, maximum=2048, step=8, label="Height", value=512, elem_id="extras_upscaling_resize_h")
+ upscaling_resize_w = gr.Slider(minimum=64, maximum=8192, step=8, label="Width", value=512, elem_id="extras_upscaling_resize_w")
+ upscaling_resize_h = gr.Slider(minimum=64, maximum=8192, step=8, label="Height", value=512, elem_id="extras_upscaling_resize_h")
with gr.Column(elem_id="upscaling_dimensions_row", scale=1, elem_classes="dimensions-tools"):
upscaling_res_switch_btn = ToolButton(value=switch_values_symbol, elem_id="upscaling_res_switch_btn", tooltip="Switch width/height")
upscaling_crop = gr.Checkbox(label='Crop to fit', value=True, elem_id="extras_upscaling_crop")
|