From 6e19ae4b2f58853ad44adfe8a19672598c62471c Mon Sep 17 00:00:00 2001 From: Xan <70198941+xanthousm@users.noreply.github.com> Date: Thu, 13 Apr 2023 23:17:20 +1000 Subject: [PATCH] Fix gpt-j model type in UI (#1129) --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index ff5e681..f2a4cd3 100644 --- a/server.py +++ b/server.py @@ -329,7 +329,7 @@ def create_model_menus(): components['groupsize'] = gr.Dropdown(label="groupsize", choices=["None", 32, 64, 128], value=shared.args.groupsize if shared.args.groupsize > 0 else "None") with gr.Column(): - components['model_type'] = gr.Dropdown(label="model_type", choices=["None", "llama", "opt", "gpt-j"], value=shared.args.model_type or "None") + components['model_type'] = gr.Dropdown(label="model_type", choices=["None", "llama", "opt", "gptj"], value=shared.args.model_type or "None") components['pre_layer'] = gr.Slider(label="pre_layer", minimum=0, maximum=100, value=shared.args.pre_layer) with gr.Row():