mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 16:17:57 +01:00
Reorder some buttons
This commit is contained in:
parent
a9f49a7574
commit
7af50ede94
@ -66,10 +66,10 @@ def create_ui():
|
|||||||
shared.gradio['unique_id'] = gr.Dropdown(label='Chat history', elem_classes=['slim-dropdown'], interactive=not mu)
|
shared.gradio['unique_id'] = gr.Dropdown(label='Chat history', elem_classes=['slim-dropdown'], interactive=not mu)
|
||||||
|
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
|
shared.gradio['rename_chat'] = gr.Button('Rename', elem_classes='refresh-button', interactive=not mu)
|
||||||
shared.gradio['delete_chat'] = gr.Button('🗑️', elem_classes='refresh-button', interactive=not mu)
|
shared.gradio['delete_chat'] = gr.Button('🗑️', elem_classes='refresh-button', interactive=not mu)
|
||||||
shared.gradio['delete_chat-confirm'] = gr.Button('Confirm', variant='stop', visible=False, elem_classes='refresh-button')
|
shared.gradio['delete_chat-confirm'] = gr.Button('Confirm', variant='stop', visible=False, elem_classes='refresh-button')
|
||||||
shared.gradio['delete_chat-cancel'] = gr.Button('Cancel', visible=False, elem_classes='refresh-button')
|
shared.gradio['delete_chat-cancel'] = gr.Button('Cancel', visible=False, elem_classes='refresh-button')
|
||||||
shared.gradio['rename_chat'] = gr.Button('Rename', elem_classes='refresh-button', interactive=not mu)
|
|
||||||
shared.gradio['Start new chat'] = gr.Button('New chat', elem_classes='refresh-button')
|
shared.gradio['Start new chat'] = gr.Button('New chat', elem_classes='refresh-button')
|
||||||
|
|
||||||
with gr.Row(elem_id='rename-row'):
|
with gr.Row(elem_id='rename-row'):
|
||||||
|
Loading…
Reference in New Issue
Block a user