mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-25 17:29:22 +01: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.Column(scale=1):
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
shared.gradio['Stop'] = gr.Button('■', elem_id='stop', visible=False, variant='stop')
|
shared.gradio['Stop'] = gr.Button('■', elem_id='stop', visible=False)
|
||||||
shared.gradio['Generate'] = gr.Button('►', elem_id='Generate', variant='primary')
|
shared.gradio['Generate'] = gr.Button('▶', elem_id='Generate', variant='primary')
|
||||||
|
|
||||||
# Hover menu buttons
|
# Hover menu buttons
|
||||||
shared.gradio['Regenerate'] = gr.Button('Regenerate')
|
shared.gradio['Regenerate'] = gr.Button('Regenerate')
|
||||||
|
Loading…
Reference in New Issue
Block a user