From 059d47edb5f0cf34a5643c8312f48641d05281be Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 23 Jan 2023 14:04:01 -0300 Subject: [PATCH] Submit with enter instead of shift+enter in chat mode --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index c6760405..3b52ad22 100644 --- a/server.py +++ b/server.py @@ -430,7 +430,7 @@ if args.chat or args.cai_chat: display1 = gr.HTML(value=generate_chat_html([], "", "", character)) else: display1 = gr.Chatbot() - textbox = gr.Textbox(lines=2, label='Input') + textbox = gr.Textbox(label='Input') btn = gr.Button("Generate") with gr.Row(): stop = gr.Button("Stop")