From 1b47b5c676c049b032e5e89771d9b0b24f54e559 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Wed, 13 Sep 2023 09:25:26 -0700 Subject: [PATCH] Change the Generate/Stop buttons --- modules/ui_chat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ui_chat.py b/modules/ui_chat.py index ba5f5bcd..1517b383 100644 --- a/modules/ui_chat.py +++ b/modules/ui_chat.py @@ -34,8 +34,8 @@ def create_ui(): with gr.Column(scale=1): with gr.Row(): - shared.gradio['Stop'] = gr.Button('■', elem_id='stop', visible=False, variant='stop') - shared.gradio['Generate'] = gr.Button('►', elem_id='Generate', variant='primary') + shared.gradio['Stop'] = gr.Button('■', elem_id='stop', visible=False) + shared.gradio['Generate'] = gr.Button('▶', elem_id='Generate', variant='primary') # Hover menu buttons shared.gradio['Regenerate'] = gr.Button('Regenerate')