fix prompt concat logic

This commit is contained in:
Mary Hipp 2024-08-05 13:42:28 -04:00
parent a61209206b
commit af9110e964

View File

@ -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;
} }
); );