Replace 'Generate' with 'Send' in the Chat tab

This commit is contained in:
oobabooga 2025-06-20 06:59:48 -07:00
parent bb97ca1b22
commit 58282f7107
2 changed files with 1 additions and 5 deletions

View file

@ -365,10 +365,6 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
gap: 0;
}
#chat-tab button#Generate, #chat-tab button#stop {
width: 89.3438px !important;
}
#chat-tab button, #notebook-tab button, #default-tab button {
min-width: 0 !important;
}

View file

@ -60,7 +60,7 @@ def create_ui():
with gr.Column(scale=1, elem_id='generate-stop-container'):
with gr.Row():
shared.gradio['Stop'] = gr.Button('Stop', elem_id='stop', visible=False)
shared.gradio['Generate'] = gr.Button('Generate', elem_id='Generate', variant='primary')
shared.gradio['Generate'] = gr.Button('Send', elem_id='Generate', variant='primary')
# Hover menu buttons
with gr.Column(elem_id='chat-buttons'):