diff --git a/modules/ui_chat.py b/modules/ui_chat.py index db1f5da1..76c7d5ff 100644 --- a/modules/ui_chat.py +++ b/modules/ui_chat.py @@ -284,7 +284,6 @@ def create_event_handlers(): shared.gradio['mode'].change( lambda x: gr.update(visible=x != 'instruct'), gradio('mode'), gradio('chat_style'), show_progress=False).then( ui.gather_interface_values, gradio(shared.input_elements), gradio('interface_state')).then( - partial(chat.character_is_loaded, raise_exception=True), gradio('interface_state'), None).success( chat.load_latest_history, gradio('interface_state'), gradio('history')).then( chat.redraw_html, gradio(reload_arr), gradio('display')).then( lambda x: gr.update(choices=(histories := chat.find_all_histories(x)), value=histories[0]), gradio('interface_state'), gradio('unique_id'))