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:
parent
e3e8d8af02
commit
d32caf7cb1
@ -2,13 +2,12 @@ import { NUMPY_RAND_MAX } from 'app/constants';
|
||||
import { RootState } from 'app/store/store';
|
||||
import { generateSeeds } from 'common/util/generateSeeds';
|
||||
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 { Batch, BatchConfig } from 'services/api/types';
|
||||
import {
|
||||
CANVAS_COHERENCE_NOISE,
|
||||
METADATA,
|
||||
METADATA_ACCUMULATOR,
|
||||
NOISE,
|
||||
POSITIVE_CONDITIONING,
|
||||
} from './constants';
|
||||
@ -149,8 +148,6 @@ export const prepareLinearUIBatch = (
|
||||
});
|
||||
|
||||
if (shouldConcatSDXLStylePrompt && model?.base_model === 'sdxl') {
|
||||
unset(graph.nodes[METADATA_ACCUMULATOR], 'positive_style_prompt');
|
||||
|
||||
const stylePrompts = extendedPrompts.map((p) =>
|
||||
[p, positiveStylePrompt].join(' ')
|
||||
);
|
||||
|
@ -63,7 +63,6 @@ export const BATCH_SEED = 'batch_seed';
|
||||
export const BATCH_PROMPT = 'batch_prompt';
|
||||
export const BATCH_STYLE_PROMPT = 'batch_style_prompt';
|
||||
export const METADATA_COLLECT = 'metadata_collect';
|
||||
export const METADATA_ACCUMULATOR = 'metadata_accumulator';
|
||||
export const MERGE_METADATA = 'merge_metadata';
|
||||
export const REALESRGAN = 'esrgan';
|
||||
export const DIVIDE = 'divide';
|
||||
|
Loading…
Reference in New Issue
Block a user