mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Submit with enter instead of shift+enter in chat mode
This commit is contained in:
parent
22845ba445
commit
059d47edb5
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user