diff --git a/server.py b/server.py index 1e1760ce..9cdd33d1 100644 --- a/server.py +++ b/server.py @@ -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")