mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Remove onnx models from img2img and unified canvas
This commit is contained in:
@ -65,7 +65,11 @@ const ParamMainModelSelect = () => {
|
||||
});
|
||||
});
|
||||
forEach(onnxModels?.entities, (model, id) => {
|
||||
if (!model) {
|
||||
if (
|
||||
!model ||
|
||||
activeTabName === 'unifiedCanvas' ||
|
||||
activeTabName === 'img2img'
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user