add steps info to performance selection radio buttons

This commit is contained in:
Manuel Schmid
2023-11-22 22:17:24 +01:00
parent 0e7c42f6e8
commit 87fc830981
3 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -214,7 +214,8 @@ with shared.gradio_root:
with gr.Tab(label='Setting'):
performance_selection = gr.Radio(label='Performance',
choices=modules.flags.performance_selections,
value=modules.config.default_performance)
value=modules.config.default_performance,
elem_classes='performance_selections')
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')