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 the minimum size of audio
huangmingmingadcee8828ef5
diff --git a/funasr/runtime/python/grpc/grpc_server.py b/funasr/runtime/python/grpc/grpc_server.pyindex 158356ada..9165c1f07 100644--- a/funasr/runtime/python/grpc/grpc_server.py+++ b/funasr/runtime/python/grpc/grpc_server.py@@ -81,7 +81,7 @@ class ASRServicer(paraformer_pb2_grpc.ASRServicer):result["detail"] = "decoding data: %d bytes" % len(tmp_data)result["text"] = ""yield Response(sentence=json.dumps(result), user=req.user, action="decoding", language=req.language)- if len(tmp_data) < 800: #min input_len for asr model+ if len(tmp_data) < 9600: #min input_len for asr model , 300msend_time = int(round(time.time() * 1000))delay_str = str(end_time - begin_time)result = {}