Skip to content

Commit 79ac9e7

Browse files
authored
fix(cli): correct fun-asr-nano model id (Fun-ASR-Nano-2512) (#2984)
The CLI fun-asr-nano preset pointed to FunAudioLLM/Fun-ASR-Nano which does not exist (HF 401); the real id is FunAudioLLM/Fun-ASR-Nano-2512. Also add fsmn-vad so long audio is segmented. Without this, funasr --model fun-asr-nano failed for every user. Co-authored-by: LauraGPT <LauraGPT@users.noreply.github.com>
1 parent 3cdb661 commit 79ac9e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

funasr/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"sensevoice": {"model": "iic/SenseVoiceSmall", "vad_model": "fsmn-vad", "vad_kwargs": {"max_single_segment_time": 30000}},
1212
"paraformer": {"model": "paraformer-zh", "vad_model": "fsmn-vad", "punc_model": "ct-punc"},
1313
"paraformer-en": {"model": "paraformer-en", "vad_model": "fsmn-vad"},
14-
"fun-asr-nano": {"model": "FunAudioLLM/Fun-ASR-Nano"},
14+
"fun-asr-nano": {"model": "FunAudioLLM/Fun-ASR-Nano-2512", "vad_model": "fsmn-vad"},
1515
}
1616

1717

0 commit comments

Comments
 (0)