Remove unused code

This commit is contained in:
oobabooga 2023-05-10 11:59:59 -03:00
parent ec14d9b725
commit 3316e33d14
3 changed files with 7 additions and 15 deletions

View file

@ -372,8 +372,6 @@ def create_model_menus():
load.click(
ui.gather_interface_values, [shared.gradio[k] for k in shared.input_elements], shared.gradio['interface_state']).then(
ui.apply_interface_values, shared.gradio['interface_state'],
[shared.gradio[k] for k in ui.list_interface_input_elements(chat=shared.is_chat())], show_progress=False).then(
update_model_parameters, shared.gradio['interface_state'], None).then(
partial(load_model_wrapper, autoload=True), shared.gradio['model_menu'], shared.gradio['model_status'], show_progress=False)