From 9f150aedc3b08d5c9e7d82e3b17f2b250ae0d7f6 Mon Sep 17 00:00:00 2001 From: FartyPants Date: Mon, 12 Jun 2023 00:24:44 -0400 Subject: [PATCH] A small UI change in Models menu (#2640) --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index c5989948..398bedf8 100644 --- a/server.py +++ b/server.py @@ -318,7 +318,7 @@ def create_model_menus(): with gr.Row(): shared.gradio['model_menu'] = gr.Dropdown(choices=utils.get_available_models(), value=shared.model_name, label='Model', elem_classes='slim-dropdown') ui.create_refresh_button(shared.gradio['model_menu'], lambda: None, lambda: {'choices': utils.get_available_models()}, 'refresh-button') - load = gr.Button("Load", visible=not shared.settings['autoload_model']) + load = gr.Button("Load", visible=not shared.settings['autoload_model'], elem_classes='refresh-button') unload = gr.Button("Unload", elem_classes='refresh-button') reload = gr.Button("Reload", elem_classes='refresh-button') save_settings = gr.Button("Save settings", elem_classes='refresh-button')