rename wss

This commit is contained in:
游雁 2023-07-05 10:50:15 +08:00
parent 9d7dcea38d
commit af36cb6b7f
3 changed files with 5 additions and 5 deletions

View File

@ -109,13 +109,13 @@ An example with websocket:
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

View File

@ -41,7 +41,7 @@ python h5Server.py --host 0.0.0.0 --port 1337
`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
```

View File

@ -49,7 +49,7 @@ python h5Server.py --host 0.0.0.0 --port 1337
#### wss方式
```shell
cd ../python/websocket
python wss_srv_asr.py --port 10095
python funasr_wss_server.py --port 10095
```
### 浏览器打开地址