Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

update repo

嘉渊3a15e5392b3c
diff --git a/funasr/utils/prepare_data.py b/funasr/utils/prepare_data.py
index 36795b467..760274072 100644
--- a/funasr/utils/prepare_data.py
+++ b/funasr/utils/prepare_data.py
@@ -185,7 +185,7 @@ def generate_data_list(args, data_dir, dataset, nj=64):
for i in range(nj):
path = ""
for file_name in file_names:
- path = path + os.path.join(split_path, str(i + 1), file_name)
+ path = path + " " + os.path.join(split_path, str(i + 1), file_name)
f_data.write(path + "\n")