PLMS edge-case handling fix 5

This commit is contained in:
invincibledude
2023-01-22 00:11:05 +03:00
parent 6cd7bf9f86
commit 0f6862ef30
3 changed files with 2 additions and 4 deletions

View File

@@ -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: