Correct indent

This commit is contained in:
DepFA 2022-09-25 06:40:37 +01:00 committed by AUTOMATIC1111
parent ab5a472556
commit 72e2a96284
1 changed files with 3 additions and 3 deletions

View File

@ -1058,13 +1058,13 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
apply_field(x, 'value', lambda val: val in x.choices) apply_field(x, 'value', lambda val: val in x.choices)
if type(x) == gr.Checkbox: if type(x) == gr.Checkbox:
apply_field(x, 'value') apply_field(x, 'value')
if type(x) == gr.Textbox: if type(x) == gr.Textbox:
apply_field(x, 'value') apply_field(x, 'value')
if type(x) == gr.Number: if type(x) == gr.Number:
apply_field(x, 'value') apply_field(x, 'value')
visit(txt2img_interface, loadsave, "txt2img") visit(txt2img_interface, loadsave, "txt2img")
visit(img2img_interface, loadsave, "img2img") visit(img2img_interface, loadsave, "img2img")