mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
docs(ui): update comments in readiness re: flux kontext via bfl api
This commit is contained in:
@@ -280,12 +280,8 @@ const getReasonsWhyCannotEnqueueGenerateTab = (arg: {
|
||||
const enabledRefImages = refImages.entities.filter(({ isEnabled }) => isEnabled);
|
||||
const referenceImageCount = enabledRefImages.length;
|
||||
|
||||
// Flux Kontext only supports 1x Reference Image at a time.
|
||||
if (
|
||||
model?.base === 'flux-kontext' &&
|
||||
// (model?.base === 'flux-kontext' || (model?.base === 'flux' && model?.name?.toLowerCase().includes('kontext'))) &&
|
||||
referenceImageCount > 1
|
||||
) {
|
||||
// FLUX Kontext via BFL API only supports 1x Reference Image at a time.
|
||||
if (model?.base === 'flux-kontext' && referenceImageCount > 1) {
|
||||
reasons.push({ content: i18n.t('parameters.invoke.fluxKontextMultipleReferenceImages') });
|
||||
}
|
||||
|
||||
@@ -639,12 +635,8 @@ const getReasonsWhyCannotEnqueueCanvasTab = (arg: {
|
||||
const enabledRefImages = refImages.entities.filter(({ isEnabled }) => isEnabled);
|
||||
const referenceImageCount = enabledRefImages.length;
|
||||
|
||||
// Flux Kontext only supports 1x Reference Image at a time.
|
||||
if (
|
||||
model?.base === 'flux-kontext' &&
|
||||
// (model?.base === 'flux-kontext' || (model?.base === 'flux' && model?.name?.toLowerCase().includes('kontext'))) &&
|
||||
referenceImageCount > 1
|
||||
) {
|
||||
// FLUX Kontext via BFL API only supports 1x Reference Image at a time.
|
||||
if (model?.base === 'flux-kontext' && referenceImageCount > 1) {
|
||||
reasons.push({ content: i18n.t('parameters.invoke.fluxKontextMultipleReferenceImages') });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user