mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix board handling for simple upscale
This commit is contained in:
parent
1fd2a91ccd
commit
cb0bffedd5
@ -1,5 +1,6 @@
|
||||
import type { RootState } from 'app/store/store';
|
||||
import { fetchModelConfigWithTypeGuard } from 'features/metadata/util/modelFetchingHelpers';
|
||||
import { getBoardField } from 'features/nodes/util/graph/graphBuilderUtils';
|
||||
import {
|
||||
type ImageDTO,
|
||||
type Invocation,
|
||||
@ -27,6 +28,7 @@ export const buildAdHocUpscaleGraph = async ({ image, state }: Arg): Promise<Non
|
||||
image_to_image_model: simpleUpscaleModel,
|
||||
tile_size: 500,
|
||||
image,
|
||||
board: getBoardField(state),
|
||||
};
|
||||
|
||||
const graph: NonNullableGraph = {
|
||||
|
Loading…
Reference in New Issue
Block a user