[Update] Config Page: Translation Tab. Add Internal Translation Weight Type Selector. Downloadable.

This commit is contained in:
Sakamoto Shiina
2024-11-12 13:02:05 +09:00
parent 43b061b007
commit 36c53c49a2
17 changed files with 365 additions and 139 deletions

View File

@@ -12,10 +12,15 @@ export const ui_configs = {
mic_threshold_max: 2000,
speaker_threshold_min: 0,
speaker_threshold_max: 4000,
selectable_ui_languages: {
en: "English",
ja: "日本語",
ko: "한국어",
"zh-Hant": "繁體中文",
}
};
selectable_ui_languages: [
{id: "en", label: "English"},
{id: "ja", label: "日本語"},
{id: "ko", label: "한국어"},
{id: "zh-Hant", label: "繁體中文"},
]
};
export const ctranslate2_weight_type_status = [
{ id: "small", label: "small", is_downloaded: false, progress: null },
{ id: "large", label: "large", is_downloaded: false, progress: null },
];