You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PaddleSpeech/paddlespeech/server
xiongxinlei 7007b0ecac
update the asr server api, test=doc
3 years ago
..
bin update the asr server api, test=doc 3 years ago
conf Merge pull request #1772 from Honei/v0.3 3 years ago
engine Merge pull request #1772 from Honei/v0.3 3 years ago
restful update the punc text model, text=doc 3 years ago
tests update the asr server api, test=doc 3 years ago
utils update the asr server api, test=doc 3 years ago
ws update the asr server api, test=doc 3 years ago
README.md updata readme, test=doc 3 years ago
README_cn.md updata readme, test=doc 3 years ago
__init__.py add server cls, test=doc 3 years ago
base_commands.py added engine type and asr inference , test=doc 3 years ago
download.py added engine type and asr inference , test=doc 3 years ago
entry.py added engine type and asr inference , test=doc 3 years ago
executor.py add server demo, test=doc 3 years ago
util.py add text punc server, test=doc 3 years ago

README.md

PaddleSpeech Server Command Line

(简体中文|English)

The simplest approach to use PaddleSpeech Server including server and client.

PaddleSpeech Server

Help

paddlespeech_server help

Start the server

First set the service-related configuration parameters, similar to ./conf/application.yaml. Set engine_list, which represents the speech tasks included in the service to be started Then start the service:

paddlespeech_server start --config_file ./conf/application.yaml

PaddleSpeech Client

Help

paddlespeech_client help

Access speech recognition services

paddlespeech_client asr --server_ip 127.0.0.1 --port 8090 --input input_16k.wav

Access text to speech services

paddlespeech_client tts --server_ip 127.0.0.1 --port 8090 --input "你好,欢迎使用百度飞桨深度学习框架!" --output output.wav

Access audio classification services

paddlespeech_client cls --server_ip 127.0.0.1 --port 8090 --input input.wav

Online ASR Server

Lanuch online asr server

paddlespeech_server start --config_file conf/ws_conformer_application.yaml

Access online asr server

paddlespeech_client asr_online  --server_ip 127.0.0.1 --port 8090 --input input_16k.wav

Online TTS Server

Lanuch online tts server

paddlespeech_server start --config_file conf/tts_online_application.yaml

Access online tts server

paddlespeech_client tts_online  --server_ip 127.0.0.1 --port 8092 --input "您好,欢迎使用百度飞桨深度学习框架!" --output output.wav