875ed28b58
初始上传 |
||
---|---|---|
.. | ||
data | ||
ASR_client.py | ||
ASR_server.py | ||
README.md |
语音服务介绍
该服务以modelscope funasr语音识别为基础
Install
pip install torch pip install modelscope pip install testresources pip install websockets pip install torchaudio git clone https://github.com/alibaba-damo-academy/FunASR.git pip install ./FunASR(若editdistance编译不通过,请手动安装 pip install editdistance,在FunASR/setup.py也注释掉,再执行)
Start server
1、从百度网盘下载并解压模型文件到fay/test/funasr/data目录 链接:https://pan.baidu.com/s/17SJqWIo9zeGAZxPCMIsHJA?pwd=5fzr 提取码:5fzr
2、python -u ASR_server.py --host "0.0.0.0" --port 10197 --ngpu 0 --model ./data/speech_paraformer-large-contextual_asr_nat-zh-cn-16k-common-vocab8404
Fay connect
更改fay/system.conf配置项,并重新启动fay.
Acknowledge
感谢
- 中科大脑算法工程师张聪聪
- cgisky1980
- modelscope
- FunASR
- Fay数字人助理.