mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-26 01:30:20 +01:00
A small UI change in Models menu (#2640)
This commit is contained in:
parent
da5d9a28d8
commit
9f150aedc3
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user