游雁
2023-07-05 af36cb6b7f8d16f1fbb981f9452ab7f9ee0bf7ae
rename wss
3个文件已修改
10 ■■■■ 已修改文件
README.md 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/runtime/html5/readme.md 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/runtime/html5/readme_cn.md 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
README.md
@@ -109,13 +109,13 @@
For the server:
```shell
cd funasr/runtime/python/websocket
python wss_srv_asr.py --port 10095
python funasr_wss_server.py --port 10095
```
For the client:
```shell
python wss_client_asr.py --host "127.0.0.1" --port 10095 --mode 2pass --chunk_size "5,10,5"
#python wss_client_asr.py --host "127.0.0.1" --port 10095 --mode 2pass --chunk_size "8,8,4" --audio_in "./data/wav.scp" --output_dir "./results"
python funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode 2pass --chunk_size "5,10,5"
#python funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode 2pass --chunk_size "8,8,4" --audio_in "./data/wav.scp" --output_dir "./results"
```
More examples could be found in [docs](https://alibaba-damo-academy.github.io/FunASR/en/runtime/websocket_python.html#id2)
## Contact
funasr/runtime/html5/readme.md
@@ -41,7 +41,7 @@
`Tips:` asr service and html5 service should be deployed on the same device.
```shell
cd ../python/websocket
python wss_srv_asr.py --port 10095
python funasr_wss_server.py --port 10095
```
funasr/runtime/html5/readme_cn.md
@@ -49,7 +49,7 @@
#### wss方式
```shell
cd ../python/websocket
python wss_srv_asr.py --port 10095
python funasr_wss_server.py --port 10095
```
### 浏览器打开地址