tsc and lint fix

This commit is contained in:
Mary Hipp
2024-08-21 14:23:39 -04:00
committed by Brandon
parent 269388c9f4
commit d1f904d41f
4 changed files with 14243 additions and 1 deletions

View File

@@ -74,6 +74,7 @@ const zModelType = z.enum([
'clip_vision',
'spandrel_image_to_image',
't5_encoder',
'clip_embed',
]);
const zSubModelType = z.enum([
'unet',

View File

@@ -22,6 +22,7 @@ const FIELD_VALUE_FALLBACK_MAP: Record<StatefulFieldType['name'], FieldValue> =
SpandrelImageToImageModelField: undefined,
VAEModelField: undefined,
ControlNetModelField: undefined,
T5EncoderModelField: undefined,
};
export const buildFieldInputInstance = (id: string, template: FieldInputTemplate): FieldInputInstance => {