diff options
author | orionaskatu <100234619+orionaskatu@users.noreply.github.com> | 2022-08-30 20:44:42 +0000 |
---|---|---|
committer | orionaskatu <100234619+orionaskatu@users.noreply.github.com> | 2022-08-30 20:44:42 +0000 |
commit | 5ce4f6685516649b730bfd01a6d07445c116ed4f (patch) | |
tree | 219c036c6526efc66288bd2b92dfe7d3908b7dc7 /webui.py | |
parent | 7434b3ebccd7498645ee620413422e3e0beb3cf4 (diff) | |
download | stable-diffusion-webui-gfx803-5ce4f6685516649b730bfd01a6d07445c116ed4f.tar.gz stable-diffusion-webui-gfx803-5ce4f6685516649b730bfd01a6d07445c116ed4f.tar.bz2 stable-diffusion-webui-gfx803-5ce4f6685516649b730bfd01a6d07445c116ed4f.zip |
default value for txt2img samplers
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1090,7 +1090,7 @@ with gr.Blocks(analytics_enabled=False) as txt2img_interface: with gr.Row().style(equal_height=False):
with gr.Column(variant='panel'):
steps = gr.Slider(minimum=1, maximum=150, step=1, label="Sampling Steps", value=20)
- sampler_index = gr.Radio(label='Sampling method', elem_id="txt2img_sampling", choices=[x.name for x in samplers], value=samplers_for_img2img[0].name, type="index")
+ sampler_index = gr.Radio(label='Sampling method', elem_id="txt2img_sampling", choices=[x.name for x in samplers], value=samplers[0].name, type="index")
with gr.Row():
use_GFPGAN = gr.Checkbox(label='GFPGAN', value=False, visible=have_gfpgan)
|