parent
c21daffab7
commit
caaa5cd502
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
paddlespeech_server start --config_file ./conf/application.yaml
|
||||
paddlespeech_server start --config_file ./conf/application.yaml &> server.log &
|
||||
|
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
wget -c https://paddlespeech.bj.bcebos.com/vector/audio/85236145389.wav
|
||||
wget -c https://paddlespeech.bj.bcebos.com/vector/audio/123456789.wav
|
||||
|
||||
# sid extract
|
||||
paddlespeech_client vector --server_ip 127.0.0.1 --port 8090 --task spk --input ./85236145389.wav
|
||||
|
||||
# sid score
|
||||
paddlespeech_client vector --server_ip 127.0.0.1 --port 8090 --task score --enroll ./85236145389.wav --test ./123456789.wav
|
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
paddlespeech_client text --server_ip 127.0.0.1 --port 8090 --input 今天的天气真好啊你下午有空吗我想约你一起去吃饭
|
@ -1,9 +1,8 @@
|
||||
export CUDA_VISIBLE_DEVICE=0,1,2,3
|
||||
export CUDA_VISIBLE_DEVICE=0,1,2,3
|
||||
#export CUDA_VISIBLE_DEVICE=0,1,2,3
|
||||
|
||||
# nohup python3 punc_server.py --config_file conf/punc_application.yaml > punc.log 2>&1 &
|
||||
# nohup python3 local/punc_server.py --config_file conf/punc_application.yaml > punc.log 2>&1 &
|
||||
paddlespeech_server start --config_file conf/punc_application.yaml &> punc.log &
|
||||
|
||||
# nohup python3 streaming_asr_server.py --config_file conf/ws_conformer_wenetspeech_application.yaml > streaming_asr.log 2>&1 &
|
||||
# nohup python3 local/streaming_asr_server.py --config_file conf/ws_conformer_wenetspeech_application.yaml > streaming_asr.log 2>&1 &
|
||||
paddlespeech_server start --config_file conf/ws_conformer_wenetspeech_application.yaml &> streaming_asr.log &
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
# start server
|
||||
paddlespeech_server start --config_file ./conf/tts_online_application.yaml
|
@ -1,9 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# http client test
|
||||
# If `127.0.0.1` is not accessible, you need to use the actual service IP address.
|
||||
paddlespeech_client tts_online --server_ip 127.0.0.1 --port 8092 --protocol http --input "您好,欢迎使用百度飞桨语音合成服务。" --output output.wav
|
||||
|
||||
# websocket client test
|
||||
# If `127.0.0.1` is not accessible, you need to use the actual service IP address.
|
||||
# paddlespeech_client tts_online --server_ip 127.0.0.1 --port 8092 --protocol websocket --input "您好,欢迎使用百度飞桨语音合成服务。" --output output.wav
|
Loading…
Reference in new issue