From 3ebca480f62343871221fecace30e308e562fdc5 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Sun, 29 Jan 2023 23:05:17 -0300 Subject: [PATCH] Minor fix --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 5f6b0247..140cdc4e 100644 --- a/server.py +++ b/server.py @@ -682,10 +682,10 @@ if args.chat or args.cai_chat: gen_events.append(buttons["Generate"].click(chatbot_wrapper, input_params, display, show_progress=args.no_stream, api_name="textgen")) gen_events.append(textbox.submit(chatbot_wrapper, input_params, display, show_progress=args.no_stream)) gen_events.append(buttons["Regenerate"].click(regenerate_wrapper, input_params, display, show_progress=args.no_stream)) + gen_events.append(buttons["Impersonate"].click(impersonate_wrapper, input_params, textbox, show_progress=args.no_stream)) buttons["Send last reply to input"].click(send_last_reply_to_input, [], textbox, show_progress=args.no_stream) buttons["Replace last reply"].click(replace_last_reply, [textbox, name1, name2], display, show_progress=args.no_stream) - buttons["Impersonate"].click(impersonate_wrapper, input_params, textbox, show_progress=args.no_stream) buttons["Clear"].click(clear_chat_log, [character_menu, name1, name2], display) buttons["Remove last"].click(remove_last_message, [name1, name2], [display, textbox], show_progress=False) buttons["Stop"].click(None, None, None, cancels=gen_events)