Add dict_dir arg to c api to support Chinese TTS models using jieba (#809)
This commit is contained in:
@@ -8,6 +8,7 @@ function createOfflineTts() {
|
||||
lexicon: '',
|
||||
tokens: './vits-piper-en_US-amy-low/tokens.txt',
|
||||
dataDir: './vits-piper-en_US-amy-low/espeak-ng-data',
|
||||
dictDir: '',
|
||||
noiseScale: 0.667,
|
||||
noiseScaleW: 0.8,
|
||||
lengthScale: 1.0,
|
||||
|
||||
@@ -8,6 +8,7 @@ function createOfflineTts() {
|
||||
lexicon: './vits-icefall-zh-aishell3/lexicon.txt',
|
||||
tokens: './vits-icefall-zh-aishell3/tokens.txt',
|
||||
dataDir: '',
|
||||
dictDir: '',
|
||||
noiseScale: 0.667,
|
||||
noiseScaleW: 0.8,
|
||||
lengthScale: 1.0,
|
||||
|
||||
Reference in New Issue
Block a user