mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): remove references to metadata accumulator
This commit is contained in:
@ -2,13 +2,12 @@ import { NUMPY_RAND_MAX } from 'app/constants';
|
|||||||
import { RootState } from 'app/store/store';
|
import { RootState } from 'app/store/store';
|
||||||
import { generateSeeds } from 'common/util/generateSeeds';
|
import { generateSeeds } from 'common/util/generateSeeds';
|
||||||
import { NonNullableGraph } from 'features/nodes/types/types';
|
import { NonNullableGraph } from 'features/nodes/types/types';
|
||||||
import { range, unset } from 'lodash-es';
|
import { range } from 'lodash-es';
|
||||||
import { components } from 'services/api/schema';
|
import { components } from 'services/api/schema';
|
||||||
import { Batch, BatchConfig } from 'services/api/types';
|
import { Batch, BatchConfig } from 'services/api/types';
|
||||||
import {
|
import {
|
||||||
CANVAS_COHERENCE_NOISE,
|
CANVAS_COHERENCE_NOISE,
|
||||||
METADATA,
|
METADATA,
|
||||||
METADATA_ACCUMULATOR,
|
|
||||||
NOISE,
|
NOISE,
|
||||||
POSITIVE_CONDITIONING,
|
POSITIVE_CONDITIONING,
|
||||||
} from './constants';
|
} from './constants';
|
||||||
@ -149,8 +148,6 @@ export const prepareLinearUIBatch = (
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (shouldConcatSDXLStylePrompt && model?.base_model === 'sdxl') {
|
if (shouldConcatSDXLStylePrompt && model?.base_model === 'sdxl') {
|
||||||
unset(graph.nodes[METADATA_ACCUMULATOR], 'positive_style_prompt');
|
|
||||||
|
|
||||||
const stylePrompts = extendedPrompts.map((p) =>
|
const stylePrompts = extendedPrompts.map((p) =>
|
||||||
[p, positiveStylePrompt].join(' ')
|
[p, positiveStylePrompt].join(' ')
|
||||||
);
|
);
|
||||||
|
@ -63,7 +63,6 @@ export const BATCH_SEED = 'batch_seed';
|
|||||||
export const BATCH_PROMPT = 'batch_prompt';
|
export const BATCH_PROMPT = 'batch_prompt';
|
||||||
export const BATCH_STYLE_PROMPT = 'batch_style_prompt';
|
export const BATCH_STYLE_PROMPT = 'batch_style_prompt';
|
||||||
export const METADATA_COLLECT = 'metadata_collect';
|
export const METADATA_COLLECT = 'metadata_collect';
|
||||||
export const METADATA_ACCUMULATOR = 'metadata_accumulator';
|
|
||||||
export const MERGE_METADATA = 'merge_metadata';
|
export const MERGE_METADATA = 'merge_metadata';
|
||||||
export const REALESRGAN = 'esrgan';
|
export const REALESRGAN = 'esrgan';
|
||||||
export const DIVIDE = 'divide';
|
export const DIVIDE = 'divide';
|
||||||
|
Reference in New Issue
Block a user