fix(ui): fix generation graphs

This commit is contained in:
psychedelicious
2024-06-20 11:12:28 +10:00
parent ed53d33321
commit d071a9e17d
5 changed files with 24 additions and 15 deletions

View File

@ -141,9 +141,9 @@ const createSelector = (templates: Templates) =>
problems.push(i18n.t('parameters.invoke.layer.controlAdapterIncompatibleBaseModel'));
}
// Must have a control image OR, if it has a processor, it must have a processed image
if (!ca.image) {
if (!ca.imageObject) {
problems.push(i18n.t('parameters.invoke.layer.controlAdapterNoImageSelected'));
} else if (ca.processorConfig && !ca.processedImage) {
} else if (ca.processorConfig && !ca.processedImageObject) {
problems.push(i18n.t('parameters.invoke.layer.controlAdapterImageNotProcessed'));
}
// T2I Adapters require images have dimensions that are multiples of 64 (SD1.5) or 32 (SDXL)