1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-24 07:30:19 +01:00
upscayl/common/models-list.ts

33 lines
687 B
TypeScript
Raw Normal View History

2024-10-06 09:15:44 +02:00
export const MODELS = {
"realesrgan-x4plus": {
id: "realesrgan-x4plus",
name: "Upscayl Standard",
},
"realesrgan-x4fast": {
id: "realesrgan-x4fast",
name: "Upscayl Lite",
},
remacri: {
id: "remacri",
name: "Remacri (Non-Commercial)",
},
ultramix_balanced: {
id: "ultramix_balanced",
name: "Ultramix (Non-Commercial)",
},
ultrasharp: {
id: "ultrasharp",
name: "Ultrasharp (Non-Commercial)",
},
"realesrgan-x4plus-anime": {
id: "realesrgan-x4plus-anime",
name: "Digital Art",
},
};
export type ModelId = keyof typeof MODELS;
2024-10-06 09:15:44 +02:00
export const DEFAULT_MODELS_ID_LIST = Object.keys(MODELS).map(
(modelId) => modelId,
);