diff --git a/server.py b/server.py index 7c3ab4b8..a6f44640 100644 --- a/server.py +++ b/server.py @@ -383,7 +383,7 @@ def create_model_menus(): unload_model, None, None).then( ui.gather_interface_values, [shared.gradio[k] for k in shared.input_elements], shared.gradio['interface_state']).then( update_model_parameters, shared.gradio['interface_state'], None).then( - load_model_wrapper, shared.gradio['model_menu'], shared.gradio['model_status'], show_progress=False) + partial(load_model_wrapper, autoload=True), shared.gradio['model_menu'], shared.gradio['model_status'], show_progress=False) save_settings.click( ui.gather_interface_values, [shared.gradio[k] for k in shared.input_elements], shared.gradio['interface_state']).then(