mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: Missing VAE Loader stuff
This commit is contained in:
parent
6c6299ce49
commit
630f3c8b0b
@ -17,6 +17,7 @@ export const FIELD_TYPE_MAP: Record<string, FieldType> = {
|
|||||||
ClipField: 'clip',
|
ClipField: 'clip',
|
||||||
VaeField: 'vae',
|
VaeField: 'vae',
|
||||||
model: 'model',
|
model: 'model',
|
||||||
|
vae_model: 'vae_model',
|
||||||
array: 'array',
|
array: 'array',
|
||||||
item: 'item',
|
item: 'item',
|
||||||
ColorField: 'color',
|
ColorField: 'color',
|
||||||
@ -116,6 +117,12 @@ export const FIELDS: Record<FieldType, FieldUIConfig> = {
|
|||||||
title: 'Model',
|
title: 'Model',
|
||||||
description: 'Models are models.',
|
description: 'Models are models.',
|
||||||
},
|
},
|
||||||
|
vae_model: {
|
||||||
|
color: 'teal',
|
||||||
|
colorCssVar: getColorTokenCssVariable('teal'),
|
||||||
|
title: 'Model',
|
||||||
|
description: 'Models are models.',
|
||||||
|
},
|
||||||
array: {
|
array: {
|
||||||
color: 'gray',
|
color: 'gray',
|
||||||
colorCssVar: getColorTokenCssVariable('gray'),
|
colorCssVar: getColorTokenCssVariable('gray'),
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { BaseModelType } from 'services/api/types';
|
import { BaseModelType, VAEModelField } from 'services/api/types';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Crudely converts a model id to a main model field
|
* Crudely converts a model id to a main model field
|
||||||
|
@ -34,6 +34,7 @@ export type OffsetPaginatedResults_ImageDTO_ =
|
|||||||
export type ModelType = S<'ModelType'>;
|
export type ModelType = S<'ModelType'>;
|
||||||
export type BaseModelType = S<'BaseModelType'>;
|
export type BaseModelType = S<'BaseModelType'>;
|
||||||
export type MainModelField = S<'MainModelField'>;
|
export type MainModelField = S<'MainModelField'>;
|
||||||
|
export type VAEModelField = S<'VAEModelField'>;
|
||||||
export type ModelsList = S<'ModelsList'>;
|
export type ModelsList = S<'ModelsList'>;
|
||||||
|
|
||||||
// Graphs
|
// Graphs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user