mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
rename wss
This commit is contained in:
parent
9d7dcea38d
commit
af36cb6b7f
@ -109,13 +109,13 @@ An example with websocket:
|
|||||||
For the server:
|
For the server:
|
||||||
```shell
|
```shell
|
||||||
cd funasr/runtime/python/websocket
|
cd funasr/runtime/python/websocket
|
||||||
python wss_srv_asr.py --port 10095
|
python funasr_wss_server.py --port 10095
|
||||||
```
|
```
|
||||||
|
|
||||||
For the client:
|
For the client:
|
||||||
```shell
|
```shell
|
||||||
python wss_client_asr.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 "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 "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)
|
More examples could be found in [docs](https://alibaba-damo-academy.github.io/FunASR/en/runtime/websocket_python.html#id2)
|
||||||
## Contact
|
## Contact
|
||||||
|
|||||||
@ -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.
|
`Tips:` asr service and html5 service should be deployed on the same device.
|
||||||
```shell
|
```shell
|
||||||
cd ../python/websocket
|
cd ../python/websocket
|
||||||
python wss_srv_asr.py --port 10095
|
python funasr_wss_server.py --port 10095
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -49,7 +49,7 @@ python h5Server.py --host 0.0.0.0 --port 1337
|
|||||||
#### wss方式
|
#### wss方式
|
||||||
```shell
|
```shell
|
||||||
cd ../python/websocket
|
cd ../python/websocket
|
||||||
python wss_srv_asr.py --port 10095
|
python funasr_wss_server.py --port 10095
|
||||||
```
|
```
|
||||||
|
|
||||||
### 浏览器打开地址
|
### 浏览器打开地址
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user