Skip to content

Commit 9fb8086

Browse files
author
Attila Cseh
committed
build error fixed
1 parent 57397be commit 9fb8086

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

invokeai/frontend/web/src/features/controlLayers/hooks/saveCanvasHooks.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
rgRefImageImageChanged,
1717
} from 'features/controlLayers/store/canvasSlice';
1818
import {
19-
selectCLIPSkip,
2019
selectMainModelConfig,
2120
selectNegativePrompt,
2221
selectPositivePrompt,
@@ -82,7 +81,6 @@ const useSaveCanvas = ({ region, saveToGallery, toastOk, toastError, onSave, wit
8281

8382
if (withMetadata) {
8483
metadata = selectCanvasMetadata(state);
85-
metadata.clip_skip = selectCLIPSkip(state);
8684
metadata.positive_prompt = selectPositivePrompt(state);
8785
metadata.negative_prompt = selectNegativePrompt(state);
8886
metadata.seed = selectSeed(state);

invokeai/frontend/web/src/services/api/schema.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10292,11 +10292,6 @@ export type components = {
1029210292
* @description The id of the board the image belongs to, if one exists.
1029310293
*/
1029410294
board_id?: string | null;
10295-
/**
10296-
* Clip Skip
10297-
* @description The number of skipped CLIP layers
10298-
*/
10299-
clip_skip?: number | null;
1030010295
};
1030110296
/**
1030210297
* ImageField

invokeai/frontend/web/src/services/api/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ const _zImageDTO = z.object({
6060
node_id: z.string().nullish(),
6161
starred: z.boolean(),
6262
has_workflow: z.boolean(),
63-
board_id: z.string().nullish(),
64-
clip_skip: z.number().int().min(0).nullish(),
63+
board_id: z.string().nullish()
6564
});
6665
export type ImageDTO = z.infer<typeof _zImageDTO>;
6766
assert<Equals<ImageDTO, S['ImageDTO']>>();

0 commit comments

Comments
 (0)