Skip to content

Commit e31b2a6

Browse files
feat(ui): hide sdxl from linear UI (#3815)
## What type of PR is this? (check all applicable) - [ ] Refactor - [x] Feature - [ ] Bug Fix - [ ] Optimization - [ ] Documentation Update ## Have you discussed this change with the InvokeAI team? - [x] Yes - [ ] No, because: ## Description hides sdxl models from linear ui model select. just a hold-me-over ## Related Tickets & Documents <!-- For pull requests that relate or close an issue, please include them below. For example having the text: "closes #1234" would connect the current pull request to issue 1234. And when we merge the pull request, Github will automatically close the issue. --> - Related Issue # - Closes # ## QA Instructions, Screenshots, Recordings <!-- Please provide steps on how to test changes, any hardware or software specifications as well as any other pertinent information. --> ## Added/updated tests? - [ ] Yes - [x] No : n/a ## [optional] Are there any post deployment tasks we need to perform?
2 parents 99383c2 + 1c1a72f commit e31b2a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/frontend/web/src/features/parameters/components/Parameters/MainModel/ParamMainModelSelect.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const ParamMainModelSelect = () => {
3636
const data: SelectItem[] = [];
3737

3838
forEach(mainModels.entities, (model, id) => {
39-
if (!model) {
39+
if (!model || ['sdxl', 'sdxl-refiner'].includes(model.base_model)) {
4040
return;
4141
}
4242

0 commit comments

Comments
 (0)