mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-06-09 07:07:16 -04:00
Change the Generate/Stop buttons
This commit is contained in:
parent
01335d48b2
commit
1b47b5c676
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue