From ef7abe219b68a1a0e2d852b5b7f0b16a297b0fce Mon Sep 17 00:00:00 2001 From: Manuel Schmid Date: Thu, 23 May 2024 00:28:05 +0200 Subject: [PATCH] fix: use correct aspect ratio labels again --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.py b/webui.py index d076da84..47982365 100644 --- a/webui.py +++ b/webui.py @@ -328,7 +328,7 @@ with shared.gradio_root: choices=modules.flags.performance_selections, value=modules.config.default_performance, elem_classes='performance_selections') - aspect_ratios_selection = gr.Radio(label='Aspect Ratios', choices=modules.config.available_aspect_ratios, + aspect_ratios_selection = gr.Radio(label='Aspect Ratios', choices=modules.config.available_aspect_ratios_labels, value=modules.config.default_aspect_ratio, info='width × height', elem_classes='aspect_ratios') image_number = gr.Slider(label='Image Number', minimum=1, maximum=modules.config.default_max_image_number, step=1, value=modules.config.default_image_number)