mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update SDK_tutorial_online
This commit is contained in:
parent
c892cc34a9
commit
37fcd9f024
@ -59,7 +59,7 @@ For more client version support, please refer to the [websocket_protocol](./webs
|
||||
If you want to run the client directly for testing, you can refer to the following simple instructions, using the Python version as an example:
|
||||
|
||||
```shell
|
||||
python3 funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode offline --audio_in "../audio/asr_example.wav"
|
||||
python3 funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode offline --audio_in "../audio/asr_example.pcm"
|
||||
```
|
||||
|
||||
Command parameter instructions:
|
||||
@ -79,7 +79,7 @@ Command parameter instructions:
|
||||
|
||||
After entering the samples/cpp directory, you can test it with CPP. The command is as follows:
|
||||
```shell
|
||||
./funasr-wss-client-2pass --server-ip 127.0.0.1 --port 10095 --wav-path ../audio/asr_example.wav
|
||||
./funasr-wss-client-2pass --server-ip 127.0.0.1 --port 10095 --wav-path ../audio/asr_example.pcm
|
||||
```
|
||||
|
||||
Command parameter description:
|
||||
|
||||
@ -84,7 +84,7 @@ python3 funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode 2pass
|
||||
进入samples/cpp目录后,可以用cpp进行测试,指令如下:
|
||||
```shell
|
||||
./funasr-wss-client-2pass --server-ip 127.0.0.1 --port 10095 --mode 2pass \
|
||||
--wav-path ../audio/asr_example.wav
|
||||
--wav-path ../audio/asr_example.pcm
|
||||
```
|
||||
|
||||
命令参数说明:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user