Update frontend.py

This commit is contained in:
hlky 2022-08-31 14:59:38 +01:00
parent 89328b5da0
commit fecac5c242
No known key found for this signature in database
GPG Key ID: 55A99F1E80D907D5

View File

@ -153,7 +153,7 @@ def draw_gradio_ui(opt, img2img=lambda x: x, txt2img=lambda x: x, txt2img_defaul
value=3, visible=False)
img2img_resize = gr.Radio(label="Resize mode",
choices=["Just resize"],
choices=["Just resize", "Crop and resize", "Resize and fill"],
type="index",
value=img2img_resize_modes[img2img_defaults['resize_mode']])