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
Update funasr_wss_client.py
Yabin Li664dfaf1bcaf
diff --git a/funasr/runtime/python/websocket/funasr_wss_client.py b/funasr/runtime/python/websocket/funasr_wss_client.pyindex d91d9d1c6..fad12ce0c 100644--- a/funasr/runtime/python/websocket/funasr_wss_client.py+++ b/funasr/runtime/python/websocket/funasr_wss_client.py@@ -296,9 +296,9 @@ if __name__ == '__main__':wav_name = wav_splits[0] if len(wav_splits) > 1 else "demo"wav_path = wav_splits[1] if len(wav_splits) > 1 else wav_splits[0]audio_type = os.path.splitext(wav_path)[-1].lower()- if audio_type not in SUPPORT_AUDIO_TYPE_SETS:- raise NotImplementedError(- f'Not supported audio type: {audio_type}')+ # if audio_type not in SUPPORT_AUDIO_TYPE_SETS:+ # raise NotImplementedError(+ # f'Not supported audio type: {audio_type}')total_len = len(wavs)if total_len >= args.thread_num: