Skip to content

Commit

Permalink
Change the Generate/Stop buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
oobabooga committed Sep 13, 2023
1 parent 01335d4 commit 1b47b5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/ui_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 1b47b5c

Please sign in to comment.