Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
fix add_file bug
shixian.shi09372cb279d8
diff --git a/funasr/download/download_from_hub.py b/funasr/download/download_from_hub.pyindex cde4b7d87..c102549df 100644--- a/funasr/download/download_from_hub.py+++ b/funasr/download/download_from_hub.py@@ -63,7 +63,7 @@ def add_file_root_path(model_or_path: str, file_path_metas: dict, cfg = {}):elif isinstance(v, dict):if k not in cfg:cfg[k] = {}- return add_file_root_path(model_or_path, v, cfg[k])+ add_file_root_path(model_or_path, v, cfg[k])return cfg