From 8ea28cbfe06f3feb0095d2a58c640699be5cb751 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Wed, 13 Sep 2023 08:49:11 -0700 Subject: [PATCH] Reorder chat buttons --- modules/ui_chat.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/ui_chat.py b/modules/ui_chat.py index 2dcd0969..ba5f5bcd 100644 --- a/modules/ui_chat.py +++ b/modules/ui_chat.py @@ -38,12 +38,12 @@ def create_ui(): shared.gradio['Generate'] = gr.Button('►', elem_id='Generate', variant='primary') # Hover menu buttons - shared.gradio['Continue'] = gr.Button('Continue') - shared.gradio['Impersonate'] = gr.Button('Impersonate') shared.gradio['Regenerate'] = gr.Button('Regenerate') - shared.gradio['Remove last'] = gr.Button('Remove last', elem_classes=['button_nowrap']) - shared.gradio['Copy last reply'] = gr.Button('Copy last reply') + shared.gradio['Continue'] = gr.Button('Continue') + shared.gradio['Remove last'] = gr.Button('Remove last reply') shared.gradio['Replace last reply'] = gr.Button('Replace last reply') + shared.gradio['Copy last reply'] = gr.Button('Copy last reply') + shared.gradio['Impersonate'] = gr.Button('Impersonate') shared.gradio['Send dummy message'] = gr.Button('Send dummy message') shared.gradio['Send dummy reply'] = gr.Button('Send dummy reply') shared.gradio['Clear history'] = gr.Button('Clear history')