This commit is contained in:
lllyasviel
2023-11-15 01:49:01 -08:00
parent a9bd188555
commit cbe66fd5e0
5 changed files with 15 additions and 3 deletions
+2 -2
View File
@@ -192,8 +192,8 @@ with shared.gradio_root:
with gr.Column(scale=1, visible=modules.config.default_advanced_checkbox) as advanced_column:
with gr.Tab(label='Setting'):
performance_selection = gr.Radio(label='Performance',
choices=['Speed', 'Quality', 'Extreme Speed'],
value='Speed')
choices=modules.flags.performance_selections,
value=modules.config.default_performance)
aspect_ratios_selection = gr.Radio(label='Aspect Ratios', choices=modules.config.available_aspect_ratios,
value=modules.config.default_aspect_ratio, info='width × height',
elem_classes='aspect_ratios')