aboutsummaryrefslogtreecommitdiff
path: root/modules/ui.py
diff options
context:
space:
mode:
authorinvincibledude <>2023-01-22 00:11:05 +0300
committerinvincibledude <>2023-01-22 00:11:05 +0300
commit0f6862ef3041f3ee18e8236765b1c1958c84385b (patch)
treec851b404caa04f052b3e48e52a7ebe6b5e25942e /modules/ui.py
parent6cd7bf9f860dff3b61a50ec2d41915536cbcf448 (diff)
PLMS edge-case handling fix 5
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py
index 6bbbc0f6..b408379f 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -673,7 +673,7 @@ def create_ui():
hr_resize_y = gr.Slider(minimum=0, maximum=2048, step=8, label="Resize height to", value=0, elem_id="txt2img_hr_resize_y")
with FormRow(elem_id="txt2img_hires_fix_row3", variant="compact"):
- hr_sampler_index = gr.Dropdown(label='Hires sampling method', elem_id=f"hr_sampler", choices=["---"] + [x.name for x in samplers], value="---", type="index")
+ hr_sampler_index = gr.Dropdown(label='Hires sampling method', elem_id=f"hr_sampler", choices=["---"] + [x.name for x in samplers_for_img2img], value="---", type="index")
elif category == "batch":
if not opts.dimensions_and_batch_together: