mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-26 06:10:39 +01:00
Reorganize chat buttons
This commit is contained in:
parent
2207d44986
commit
2fe235738e
@ -667,16 +667,17 @@ if args.chat or args.cai_chat:
|
|||||||
else:
|
else:
|
||||||
display = gr.Chatbot()
|
display = gr.Chatbot()
|
||||||
textbox = gr.Textbox(label='Input')
|
textbox = gr.Textbox(label='Input')
|
||||||
buttons["Generate"] = gr.Button("Generate")
|
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
buttons["Stop"] = gr.Button("Stop")
|
buttons["Stop"] = gr.Button("Stop")
|
||||||
|
buttons["Generate"] = gr.Button("Generate")
|
||||||
buttons["Regenerate"] = gr.Button("Regenerate")
|
buttons["Regenerate"] = gr.Button("Regenerate")
|
||||||
|
with gr.Row():
|
||||||
|
buttons["Impersonate"] = gr.Button("Impersonate")
|
||||||
buttons["Remove last"] = gr.Button("Remove last")
|
buttons["Remove last"] = gr.Button("Remove last")
|
||||||
buttons["Clear"] = gr.Button("Clear history")
|
buttons["Clear"] = gr.Button("Clear history")
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
buttons["Send last reply to input"] = gr.Button("Send last reply to input")
|
buttons["Send last reply to input"] = gr.Button("Send last reply to input")
|
||||||
buttons["Replace last reply"] = gr.Button("Replace last reply")
|
buttons["Replace last reply"] = gr.Button("Replace last reply")
|
||||||
buttons["Impersonate"] = gr.Button("Impersonate")
|
|
||||||
|
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
with gr.Column():
|
with gr.Column():
|
||||||
|
Loading…
Reference in New Issue
Block a user