mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): save upscaled images to gallery on canvas tab
This commit is contained in:
parent
6bdded85da
commit
8794b99d51
@ -1,5 +1,5 @@
|
|||||||
import type { RootState } from 'app/store/store';
|
import type { RootState } from 'app/store/store';
|
||||||
import { getBoardField, getIsIntermediate } from 'features/nodes/util/graph/graphBuilderUtils';
|
import { getBoardField } from 'features/nodes/util/graph/graphBuilderUtils';
|
||||||
import type { ESRGANInvocation, Graph, NonNullableGraph } from 'services/api/types';
|
import type { ESRGANInvocation, Graph, NonNullableGraph } from 'services/api/types';
|
||||||
|
|
||||||
import { ESRGAN } from './constants';
|
import { ESRGAN } from './constants';
|
||||||
@ -18,7 +18,7 @@ export const buildAdHocUpscaleGraph = ({ image_name, state }: Arg): Graph => {
|
|||||||
type: 'esrgan',
|
type: 'esrgan',
|
||||||
image: { image_name },
|
image: { image_name },
|
||||||
model_name: esrganModelName,
|
model_name: esrganModelName,
|
||||||
is_intermediate: getIsIntermediate(state),
|
is_intermediate: false,
|
||||||
board: getBoardField(state),
|
board: getBoardField(state),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user