Move a button

This commit is contained in:
oobabooga 2023-06-18 01:56:43 -03:00
parent 0686a2e75f
commit 5b4c0155f6

View File

@ -708,6 +708,7 @@ def create_interface():
with gr.Row():
shared.gradio['interface_modes_menu'] = gr.Dropdown(choices=modes, value=current_mode, label="Mode")
shared.gradio['reset_interface'] = gr.Button("Apply and restart the interface", elem_classes="small-button")
shared.gradio['toggle_dark_mode'] = gr.Button('Toggle dark/light mode', elem_classes="small-button")
with gr.Row():
@ -717,7 +718,6 @@ def create_interface():
with gr.Column():
shared.gradio['bool_menu'] = gr.CheckboxGroup(choices=bool_list, value=bool_active, label="Boolean command-line flags", elem_classes='checkboxgroup-table')
shared.gradio['reset_interface'] = gr.Button("Apply and restart the interface")
with gr.Row():
extension_name = gr.Textbox(lines=1, label='Install or update an extension', info='Enter the GitHub URL below. For a list of extensions, see: https://github.com/oobabooga/text-generation-webui-extensions ⚠️ WARNING ⚠️ : extensions can execute arbitrary code. Make sure to inspect their source code before activating them.')
extension_install = gr.Button('Install or update', elem_classes="small-button")