From 43186bf4bc7fa60ce16a5f92eaae91be89fe83b9 Mon Sep 17 00:00:00 2001 From: QuantumSoul Date: Mon, 1 Apr 2024 19:32:04 +0200 Subject: [PATCH] Update ui_gallery.py --- modules/ui_gallery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui_gallery.py b/modules/ui_gallery.py index d35010270..1170f1371 100644 --- a/modules/ui_gallery.py +++ b/modules/ui_gallery.py @@ -40,7 +40,7 @@ def read_media(fn): def create_ui(): with gr.Blocks() as tab: - with gr.Row(): + with gr.Row(elem_id='tab-gallery-sort-buttons'): sort_buttons = [] sort_buttons.append(ToolButton(value=ui_symbols.sort_alpha_asc, show_label=False, elem_classes=['gallery-sort'])) sort_buttons.append(ToolButton(value=ui_symbols.sort_alpha_dsc, show_label=False, elem_classes=['gallery-sort']))