parent
79c064fe21
commit
76391275fc
@ -0,0 +1,25 @@
|
||||
# PaddleSpeech Server
|
||||
|
||||
## The environment variables
|
||||
The path.sh contains the environment variable.
|
||||
```bash
|
||||
source ./bin/path.sh
|
||||
```
|
||||
|
||||
## Add engine_backend on conf/application.yaml
|
||||
```
|
||||
engine_backend:
|
||||
asr: 'conf/asr/asr.yaml'
|
||||
[server name]: [conf yaml file]
|
||||
```
|
||||
Currently supporting asr and tts services.
|
||||
|
||||
## Start service(command line todo)
|
||||
```bash
|
||||
python ./bin/main.py
|
||||
```
|
||||
|
||||
## Client access
|
||||
Refer to `../tests`
|
||||
|
||||
|
@ -0,0 +1,3 @@
|
||||
export MAIN_ROOT=`realpath ${PWD}/../`
|
||||
export PYTHONIOENCODING=UTF-8
|
||||
export PYTHONPATH=${MAIN_ROOT}:${PYTHONPATH}
|
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
Loading…
Reference in new issue