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
fixbug path_name_type_list can [[any,str,str],[any,str,str]]
志浩0ac06c029edb
diff --git a/funasr/datasets/iterable_dataset.py b/funasr/datasets/iterable_dataset.pyindex fa0adeb28..3798280b6 100644--- a/funasr/datasets/iterable_dataset.py+++ b/funasr/datasets/iterable_dataset.py@@ -8,6 +8,7 @@ from typing import Dictfrom typing import Iteratorfrom typing import Tuplefrom typing import Union+from typing import Listimport kaldiioimport numpy as np@@ -127,7 +128,7 @@ class IterableESPnetDataset(IterableDataset):non_iterable_list = []self.path_name_type_list = []- if not isinstance(path_name_type_list[0], Tuple):+ if not isinstance(path_name_type_list[0], (Tuple, List)):path = path_name_type_list[0]name = path_name_type_list[1]_type = path_name_type_list[2]