aboutsummaryrefslogtreecommitdiffstats
path: root/webui.py
diff options
context:
space:
mode:
authororionaskatu <100234619+orionaskatu@users.noreply.github.com>2022-08-30 20:44:42 +0000
committerorionaskatu <100234619+orionaskatu@users.noreply.github.com>2022-08-30 20:44:42 +0000
commit5ce4f6685516649b730bfd01a6d07445c116ed4f (patch)
tree219c036c6526efc66288bd2b92dfe7d3908b7dc7 /webui.py
parent7434b3ebccd7498645ee620413422e3e0beb3cf4 (diff)
downloadstable-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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.py b/webui.py
index 04a320fc..657f7865 100644
--- a/webui.py
+++ b/webui.py
@@ -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)