|
|
|
@ -224,4 +224,30 @@ docker run --name marqo -it --privileged --gpus all -p 8882:8882 --add-host host
|
|
|
|
|
虚拟IP:172.92.0.1/24
|
|
|
|
|
网络名称:privateNetByOldTOm
|
|
|
|
|
网络密码:dasiwoyebushuo@993617
|
|
|
|
|
中心节点:tcp://1.14.96.249:11010
|
|
|
|
|
中心节点:tcp://1.14.96.249:11010
|
|
|
|
|
|
|
|
|
|
+ funasr
|
|
|
|
|
服务端已部署在docker,启动docker后进入容器
|
|
|
|
|
```shell
|
|
|
|
|
cd /workspace/FunASR/runtime
|
|
|
|
|
nohup bash run_server_2pass.sh \
|
|
|
|
|
--model-dir damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx \
|
|
|
|
|
--online-model-dir damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-online-onnx \
|
|
|
|
|
--vad-dir damo/speech_fsmn_vad_zh-cn-16k-common-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 \
|
|
|
|
|
--certfile ../../../ssl_key/server.crt \
|
|
|
|
|
--keyfile ../../../ssl_key/server.key \
|
|
|
|
|
-- certfile 0 \
|
|
|
|
|
--hotword ../../hotwords.txt > log.txt 2>&1 &
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
客户端 html
|
|
|
|
|
```shell
|
|
|
|
|
cd /Users/old-tom/tools/funasr/samples/html
|
|
|
|
|
打开 index.html
|
|
|
|
|
```
|
|
|
|
|
配置如下 ws://127.0.0.1:10096
|
|
|
|
|
![[Pasted image 20250427111211.png]]
|
|
|
|
|
点击连接,成功后点击开始,录入完毕后点击停止
|