From 4b37a2b39708d3ef4e8c900c6807d7a0b34a6454 Mon Sep 17 00:00:00 2001 From: GuizzyQC <86683381+GuizzyQC@users.noreply.github.com> Date: Wed, 26 Jul 2023 12:49:46 -0400 Subject: [PATCH] sd_api_pictures: Widen sliders for image size minimum and maximum (#3326) --- extensions/sd_api_pictures/script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/sd_api_pictures/script.py b/extensions/sd_api_pictures/script.py index 78488cd0..88a0d940 100644 --- a/extensions/sd_api_pictures/script.py +++ b/extensions/sd_api_pictures/script.py @@ -332,8 +332,8 @@ def ui(): negative_prompt = gr.Textbox(placeholder=params['negative_prompt'], value=params['negative_prompt'], label='Negative Prompt') with gr.Row(): with gr.Column(): - width = gr.Slider(256, 768, value=params['width'], step=64, label='Width') - height = gr.Slider(256, 768, value=params['height'], step=64, label='Height') + width = gr.Slider(64, 2048, value=params['width'], step=64, label='Width') + height = gr.Slider(64, 2048, value=params['height'], step=64, label='Height') with gr.Column(variant="compact", elem_id="sampler_col"): with gr.Row(elem_id="sampler_row"): sampler_name = gr.Dropdown(value=params['sampler_name'], label='Sampling method', elem_id="sampler_box")