mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): typo in canvas model handler
This commit is contained in:
parent
38256f97b3
commit
83049a3a5b
@ -36,12 +36,12 @@ export const addTabChangedListener = () => {
|
||||
return;
|
||||
}
|
||||
|
||||
// need to filter out all the invalid canvas models (currently sdxl & refiner)
|
||||
// need to filter out all the invalid canvas models (currently refiner & any)
|
||||
const validCanvasModels = mainModelsAdapter
|
||||
.getSelectors()
|
||||
.selectAll(models)
|
||||
.filter((model) =>
|
||||
['sd-1', 'sd-2', 'sxdl'].includes(model.base_model)
|
||||
['sd-1', 'sd-2', 'sdxl'].includes(model.base_model)
|
||||
);
|
||||
|
||||
const firstValidCanvasModel = validCanvasModels[0];
|
||||
|
Loading…
Reference in New Issue
Block a user