21 lines
987 B
Plaintext
21 lines
987 B
Plaintext
其他人教程https://blog.lukeewin.top/archives/centos-streaming-asr
|
|
git 地址:https://github.com/modelscope/FunASR/blob/main/runtime/docs/SDK_tutorial_online_zh.md#html-client
|
|
|
|
docker pull registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-online-cpu-0.1.12
|
|
|
|
docker exec -it 367797c69268b2c68f1443aa0f8dcb5d5ac01355dbdd06fa6e18758415506c8f bash
|
|
|
|
cd FunASR/runtime
|
|
nohup bash run_server_2pass.sh \
|
|
--certfile 0 \
|
|
--download-model-dir /workspace/models \
|
|
--vad-dir damo/speech_fsmn_vad_zh-cn-16k-common-onnx \
|
|
--model-dir damo/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-onnx \
|
|
--online-model-dir damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-online-onnx \
|
|
--punc-dir damo/punc_ct-transformer_zh-cn-common-vad_realtime-vocab272727-onnx \
|
|
--lm-dir damo/speech_ngram_lm_zh-cn-ai-wesp-fst \
|
|
--itn-dir thuduj12/fst_itn_zh \
|
|
--hotword /workspace/models/hotwords.txt > log.txt 2>&1 &
|
|
|
|
|
|
tail -n 100 -f log.txt |