From 3209440b7cadeff4d3d5f936591326a2d0567aee Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 30 May 2023 00:17:31 -0300 Subject: [PATCH] Rearrange chat buttons --- server.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server.py b/server.py index 7fb29d7f..8620000a 100644 --- a/server.py +++ b/server.py @@ -607,17 +607,17 @@ def create_interface(): shared.gradio['Continue'] = gr.Button('Continue') with gr.Row(): - shared.gradio['Copy last reply'] = gr.Button('Copy last reply') + shared.gradio['Impersonate'] = gr.Button('Impersonate') shared.gradio['Regenerate'] = gr.Button('Regenerate') - shared.gradio['Replace last reply'] = gr.Button('Replace last reply') + shared.gradio['Remove last'] = gr.Button('Remove last') with gr.Row(): - shared.gradio['Impersonate'] = gr.Button('Impersonate') + shared.gradio['Copy last reply'] = gr.Button('Copy last reply') + shared.gradio['Replace last reply'] = gr.Button('Replace last reply') shared.gradio['Send dummy message'] = gr.Button('Send dummy message') shared.gradio['Send dummy reply'] = gr.Button('Send dummy reply') with gr.Row(): - shared.gradio['Remove last'] = gr.Button('Remove last') shared.gradio['Clear history'] = gr.Button('Clear history') shared.gradio['Clear history-confirm'] = gr.Button('Confirm', variant='stop', visible=False) shared.gradio['Clear history-cancel'] = gr.Button('Cancel', visible=False)