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 run_server_2pass.sh
Yabin Li2759bafe9cdb
diff --git a/funasr/runtime/run_server_2pass.sh b/funasr/runtime/run_server_2pass.shindex 12c19be91..2e3977c69 100644--- a/funasr/runtime/run_server_2pass.sh+++ b/funasr/runtime/run_server_2pass.sh@@ -13,6 +13,19 @@ keyfile="../../../ssl_key/server.key". ../../egs/aishell/transformer/utils/parse_options.sh || exit 1;cd /workspace/FunASR/funasr/runtime/websocket/build/bin+if [ -z "$certfile" ] || [ "$certfile" -eq 0 ]; then+./funasr-wss-server-2pass \+ --download-model-dir ${download_model_dir} \+ --model-dir ${model_dir} \+ --online-model-dir ${online_model_dir} \+ --vad-dir ${vad_dir} \+ --punc-dir ${punc_dir} \+ --decoder-thread-num ${decoder_thread_num} \+ --io-thread-num ${io_thread_num} \+ --port ${port} \+ --certfile "" \+ --keyfile ""+else./funasr-wss-server-2pass \--download-model-dir ${download_model_dir} \--model-dir ${model_dir} \@@ -24,4 +37,4 @@ cd /workspace/FunASR/funasr/runtime/websocket/build/bin--port ${port} \--certfile ${certfile} \--keyfile ${keyfile}-+fi