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.
47 lines
1.4 KiB
47 lines
1.4 KiB
3 years ago
|
# This is the parameter configuration file for PaddleSpeech Serving.
|
||
|
|
||
|
#################################################################################
|
||
|
# SERVER SETTING #
|
||
|
#################################################################################
|
||
|
host: 127.0.0.1
|
||
|
port: 8092
|
||
|
|
||
|
# The task format in the engin_list is: <speech task>_<engine type>
|
||
|
# task choices = ['asr_online', 'tts_online']
|
||
|
# protocol = ['websocket', 'http'] (only one can be selected).
|
||
|
protocol: 'http'
|
||
|
engine_list: ['tts_online']
|
||
|
|
||
|
|
||
|
#################################################################################
|
||
|
# ENGINE CONFIG #
|
||
|
#################################################################################
|
||
|
|
||
|
################################### TTS #########################################
|
||
|
################### speech task: tts; engine_type: online #######################
|
||
|
tts_online:
|
||
|
# am (acoustic model) choices=['fastspeech2_csmsc']
|
||
|
am: 'fastspeech2_csmsc'
|
||
|
am_config:
|
||
|
am_ckpt:
|
||
|
am_stat:
|
||
|
phones_dict:
|
||
|
tones_dict:
|
||
|
speaker_dict:
|
||
|
spk_id: 0
|
||
|
|
||
|
# voc (vocoder) choices=['mb_melgan_csmsc']
|
||
|
voc: 'mb_melgan_csmsc'
|
||
|
voc_config:
|
||
|
voc_ckpt:
|
||
|
voc_stat:
|
||
|
|
||
|
# others
|
||
|
lang: 'zh'
|
||
|
device: # set 'gpu:id' or 'cpu'
|
||
|
am_block: 42
|
||
|
am_pad: 12
|
||
|
voc_block: 14
|
||
|
voc_pad: 14
|
||
|
|