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.
33 lines
1.1 KiB
33 lines
1.1 KiB
3 years ago
|
# This is the parameter configuration file for PaddleSpeech Serving.
|
||
|
|
||
|
#################################################################################
|
||
|
# SERVER SETTING #
|
||
|
#################################################################################
|
||
|
host: 0.0.0.0
|
||
|
port: 8090
|
||
|
|
||
|
# The task format in the engin_list is: <speech task>_<engine type>
|
||
|
# protocol = ['http'] (only one can be selected).
|
||
|
# http only support offline engine type.
|
||
|
protocol: 'http'
|
||
|
engine_list: ['vector_python']
|
||
|
|
||
|
|
||
|
#################################################################################
|
||
|
# ENGINE CONFIG #
|
||
|
#################################################################################
|
||
|
|
||
|
################################### Vector ######################################
|
||
|
################### Vector task: spk; engine_type: python #######################
|
||
|
vector_python:
|
||
|
task: spk
|
||
|
model_type: 'ecapatdnn_voxceleb12'
|
||
|
sample_rate: 16000
|
||
|
cfg_path: # [optional]
|
||
|
ckpt_path: # [optional]
|
||
|
device: # set 'gpu:id' or 'cpu'
|
||
|
|
||
|
|
||
|
|
||
|
|