Skip to content

Commit edc9712

Browse files
committed
Update native UI model catalog
1 parent 99d07ed commit edc9712

4 files changed

Lines changed: 21 additions & 12 deletions

File tree

src/models/cosyvoice3/session.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ CosyVoice3Session::CosyVoice3Session(
9191
if (task_.mode != runtime::RunMode::Offline) {
9292
throw std::runtime_error("CosyVoice3 supports offline sessions");
9393
}
94+
if (execution_context().backend_type() == core::BackendType::Metal) {
95+
throw std::runtime_error("CosyVoice3 has an unresolved Metal backend issue, so Metal is temporarily blocked");
96+
}
9497

9598
using T = engine::assets::TensorStorageType;
9699
const auto storage_type = runtime::parse_tensor_storage_option(

webui/configs/models_catalog.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
"input_hint_en": "**Echo-TTS**: English zero-shot cloning at 44.1 kHz. Upload a reference voice -- no transcript needed. Output is CC-BY-NC-SA and may not be used commercially." },
8181

8282
{ "id": "chatterbox", "display_name": "Chatterbox (voice clone)", "family": "chatterbox", "path": "models/chatterbox", "task": "clon", "mode": "offline", "download_id": "chatterbox", "min_vram_gb": 12 },
83+
{ "id": "chatterbox-turbo", "display_name": "Chatterbox Turbo (tts)", "family": "chatterbox_turbo", "path": "models/Chatterbox-Turbo-GGUF/chatterbox-turbo-q8_0.gguf", "task": "tts", "mode": "offline", "download_id": "chatterbox_turbo_q8_0", "min_vram_gb": 4,
84+
"input_hint_en": "**Chatterbox Turbo**: fast English TTS with the built-in voice. No reference voice is required." },
8385

8486
{ "id": "ace-step", "display_name": "ACE-Step 1.5 (music gen)", "family": "ace_step", "path": "models/Ace-Step1.5", "task": "gen", "mode": "offline", "download_id": "ace_step", "session_options": { "ace_step.mem_saver": "true", "ace_step.dit_weight_type": "q8_0", "ace_step.text_encoder_weight_type": "q8_0", "ace_step.planner_weight_type": "q8_0" }, "min_vram_gb": 8 },
8587
{ "id": "minimax-music3", "display_name": "MiniMax-Music3 (song gen)", "family": "minimax_music3", "path": "models/MiniMax-Music3-GGUF", "task": "gen", "mode": "offline", "download_id": "minimax_music3_q4_0", "min_vram_gb": 12 },

webui/native/dist/index.html

Lines changed: 9 additions & 9 deletions
Large diffs are not rendered by default.

webui/native/src/routes/+page.svelte

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,9 @@
379379
$: modelGroups = groupCatalog(activeCatalog);
380380
$: selected = activeCatalog.find((entry) => entry.id === selectedId) || activeCatalog[0] || catalog[0];
381381
$: activeWorkflowSpec = workflowTabs.find((workflow) => workflow.id === activeWorkflow) || workflowTabs[0];
382-
$: workflowModels = activeCatalog.filter((entry) =>
383-
activeWorkflowSpec.tasks.some((task) => task === entry.task));
382+
$: workflowModels = activeCatalog
383+
.filter((entry) => activeWorkflowSpec.tasks.some((task) => task === entry.task))
384+
.sort((left, right) => compareModelNames(left.display_name, right.display_name));
384385
$: filteredModelGroups = modelGroups.map((group) => ({
385386
...group,
386387
entries: group.entries.filter((entry) => {
@@ -396,7 +397,10 @@
396397
$: usesDurationSecOption =
397398
selected?.family === 'controlfoley' ||
398399
selected?.family === 'midashenglm_gen';
399-
$: supportsTextOnlyTts = selected?.family === 'breeze_tts' && selected?.task === 'tts';
400+
$: supportsTextOnlyTts = (
401+
selected?.family === 'breeze_tts' ||
402+
selected?.family === 'chatterbox_turbo'
403+
) && selected?.task === 'tts';
400404
$: needsSource = ['asr', 'vc', 'svc', 's2s', 'sep', 'vad', 'diar', 'align', 'midi'].includes(selected?.task) ||
401405
isFireRedAudioEdit;
402406
$: acceptsSource = needsSource || selected?.task === 'gen';

0 commit comments

Comments
 (0)