add warning if no upscale model or no tile controlnet for base model

This commit is contained in:
Mary Hipp
2024-07-18 20:04:44 -04:00
committed by psychedelicious
parent d2bf3629bf
commit 5ab36e0433
5 changed files with 77 additions and 6 deletions

View File

@ -203,6 +203,10 @@ const createSelector = (templates: Templates) =>
if (!upscale.upscaleModel) {
reasons.push({ content: "No upscale model selected" })
}
if (!upscale.tileControlnetModel) {
reasons.push({ content: "No valid tile controlnet available" })
}
} else {
// Handling for all other tabs
selectControlAdapterAll(controlAdapters)