From 1c1a72f4c4f2178a07727596283d9f68434f0ad3 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 18 Jul 2023 21:44:24 +1000 Subject: [PATCH] feat(ui): hide sdxl from linear UI --- .../components/Parameters/MainModel/ParamMainModelSelect.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/parameters/components/Parameters/MainModel/ParamMainModelSelect.tsx b/invokeai/frontend/web/src/features/parameters/components/Parameters/MainModel/ParamMainModelSelect.tsx index 597ffea418..eee2a36d1b 100644 --- a/invokeai/frontend/web/src/features/parameters/components/Parameters/MainModel/ParamMainModelSelect.tsx +++ b/invokeai/frontend/web/src/features/parameters/components/Parameters/MainModel/ParamMainModelSelect.tsx @@ -36,7 +36,7 @@ const ParamMainModelSelect = () => { const data: SelectItem[] = []; forEach(mainModels.entities, (model, id) => { - if (!model) { + if (!model || ['sdxl', 'sdxl-refiner'].includes(model.base_model)) { return; }