|
|
|
@ -3,11 +3,9 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav
|
|
|
|
|
|
|
|
|
|
# read the wav and pass it to only streaming asr service
|
|
|
|
|
# If `127.0.0.1` is not accessible, you need to use the actual service IP address.
|
|
|
|
|
# python3 websocket_client.py --server_ip 127.0.0.1 --port 8290 --wavfile ./zh.wav
|
|
|
|
|
paddlespeech_client asr_online --server_ip 127.0.0.1 --port 8090 --input ./zh.wav
|
|
|
|
|
|
|
|
|
|
# read the wav and call streaming and punc service
|
|
|
|
|
# If `127.0.0.1` is not accessible, you need to use the actual service IP address.
|
|
|
|
|
# python3 websocket_client.py --server_ip 127.0.0.1 --port 8290 --punc.server_ip 127.0.0.1 --punc.port 8190 --wavfile ./zh.wav
|
|
|
|
|
paddlespeech_client asr_online --server_ip 127.0.0.1 --port 8290 --punc.server_ip 127.0.0.1 --punc.port 8190 --input ./zh.wav
|
|
|
|
|
|
|
|
|
|