Change the Generate/Stop buttons

This commit is contained in:
oobabooga 2023-09-13 09:25:26 -07:00
parent 01335d48b2
commit 1b47b5c676

View File

@ -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')