Change the chat generate button

This commit is contained in:
oobabooga 2023-09-14 05:16:44 -07:00
parent ecc90f9f62
commit 644a9b8765
3 changed files with 8 additions and 2 deletions

View file

@ -36,8 +36,8 @@ def create_ui():
with gr.Column(scale=1):
with gr.Row():
shared.gradio['Stop'] = gr.Button('', elem_id='stop', visible=False)
shared.gradio['Generate'] = gr.Button('', elem_id='Generate', variant='primary')
shared.gradio['Stop'] = gr.Button('Stop', elem_id='stop', visible=False)
shared.gradio['Generate'] = gr.Button('Generate', elem_id='Generate', variant='primary')
# Hover menu buttons
shared.gradio['Regenerate'] = gr.Button('Regenerate (Ctrl + Enter)', elem_id='Regenerate')