mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
sd_api_pictures: Widen sliders for image size minimum and maximum (#3326)
This commit is contained in:
parent
f24f87cfb0
commit
4b37a2b397
@ -332,8 +332,8 @@ def ui():
|
|||||||
negative_prompt = gr.Textbox(placeholder=params['negative_prompt'], value=params['negative_prompt'], label='Negative Prompt')
|
negative_prompt = gr.Textbox(placeholder=params['negative_prompt'], value=params['negative_prompt'], label='Negative Prompt')
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
with gr.Column():
|
with gr.Column():
|
||||||
width = gr.Slider(256, 768, value=params['width'], step=64, label='Width')
|
width = gr.Slider(64, 2048, value=params['width'], step=64, label='Width')
|
||||||
height = gr.Slider(256, 768, value=params['height'], step=64, label='Height')
|
height = gr.Slider(64, 2048, value=params['height'], step=64, label='Height')
|
||||||
with gr.Column(variant="compact", elem_id="sampler_col"):
|
with gr.Column(variant="compact", elem_id="sampler_col"):
|
||||||
with gr.Row(elem_id="sampler_row"):
|
with gr.Row(elem_id="sampler_row"):
|
||||||
sampler_name = gr.Dropdown(value=params['sampler_name'], label='Sampling method', elem_id="sampler_box")
|
sampler_name = gr.Dropdown(value=params['sampler_name'], label='Sampling method', elem_id="sampler_box")
|
||||||
|
Loading…
Reference in New Issue
Block a user