Submit with enter instead of shift+enter in chat mode
This commit is contained in:
parent
22845ba445
commit
059d47edb5
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ if args.chat or args.cai_chat:
|
||||||
display1 = gr.HTML(value=generate_chat_html([], "", "", character))
|
display1 = gr.HTML(value=generate_chat_html([], "", "", character))
|
||||||
else:
|
else:
|
||||||
display1 = gr.Chatbot()
|
display1 = gr.Chatbot()
|
||||||
textbox = gr.Textbox(lines=2, label='Input')
|
textbox = gr.Textbox(label='Input')
|
||||||
btn = gr.Button("Generate")
|
btn = gr.Button("Generate")
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
stop = gr.Button("Stop")
|
stop = gr.Button("Stop")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue