mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-14 03:25:29 -05:00
chore(ui): prettier
This commit is contained in:
@@ -66,7 +66,18 @@ export type SchedulerField = z.infer<typeof zSchedulerField>;
|
|||||||
// #endregion
|
// #endregion
|
||||||
|
|
||||||
// #region Model-related schemas
|
// #region Model-related schemas
|
||||||
const zBaseModel = z.enum(['any', 'sd-1', 'sd-2', 'sd-3', 'sdxl', 'sdxl-refiner', 'flux', 'cogview4', 'imagen3', 'chatgpt-4o']);
|
const zBaseModel = z.enum([
|
||||||
|
'any',
|
||||||
|
'sd-1',
|
||||||
|
'sd-2',
|
||||||
|
'sd-3',
|
||||||
|
'sdxl',
|
||||||
|
'sdxl-refiner',
|
||||||
|
'flux',
|
||||||
|
'cogview4',
|
||||||
|
'imagen3',
|
||||||
|
'chatgpt-4o',
|
||||||
|
]);
|
||||||
export type BaseModelType = z.infer<typeof zBaseModel>;
|
export type BaseModelType = z.infer<typeof zBaseModel>;
|
||||||
export const zMainModelBase = z.enum(['sd-1', 'sd-2', 'sd-3', 'sdxl', 'flux', 'cogview4', 'imagen3', 'chatgpt-4o']);
|
export const zMainModelBase = z.enum(['sd-1', 'sd-2', 'sd-3', 'sdxl', 'flux', 'cogview4', 'imagen3', 'chatgpt-4o']);
|
||||||
export type MainModelBase = z.infer<typeof zMainModelBase>;
|
export type MainModelBase = z.infer<typeof zMainModelBase>;
|
||||||
|
|||||||
Reference in New Issue
Block a user