diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-08-31 01:11:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 01:11:01 +0300 |
commit | 765d7bc6be46064e83ed745001c3da8497b8ae86 (patch) | |
tree | 65bf361592bf14f131abd134092e9ebc417b9232 /webui.py | |
parent | c19eb722e942e6a741fd4368e562693aed42f6d7 (diff) | |
parent | 5ce4f6685516649b730bfd01a6d07445c116ed4f (diff) |
Merge pull request #33 from orionaskatu/orionaskatu-txt2img-samplers
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)
|