mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Change the Generate/Stop buttons
This commit is contained in:
parent
01335d48b2
commit
1b47b5c676
@ -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…
Reference in New Issue
Block a user