mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix prompt concat logic
This commit is contained in:
parent
a61209206b
commit
af9110e964
@ -12,7 +12,7 @@ import { memo } from 'react';
|
|||||||
const concatPromptsSelector = createSelector(
|
const concatPromptsSelector = createSelector(
|
||||||
[selectGenerationSlice, selectControlLayersSlice],
|
[selectGenerationSlice, selectControlLayersSlice],
|
||||||
(generation, controlLayers) => {
|
(generation, controlLayers) => {
|
||||||
return generation.model?.base === 'sdxl' && controlLayers.present.shouldConcatPrompts;
|
return generation.model?.base !== 'sdxl' || controlLayers.present.shouldConcatPrompts;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user