Fixed the C api calls and created the TTS project file (#1324)
Co-authored-by: Michael Twohey <mtwohey@americanambulance.com>
This commit is contained in:
@@ -14,9 +14,13 @@ internal class Program
|
||||
provider = "cpu",
|
||||
vits = new SherpaOnnxOfflineTtsVitsModelConfig
|
||||
{
|
||||
lexicon = "vits-zh-aishell3/lexicon.txt",
|
||||
model = "vits-zh-aishell3/vits-aishell3.onnx",
|
||||
tokens = "vits-zh-aishell3/tokens.txt",
|
||||
//lexicon = "vits-zh-aishell3/lexicon.txt",
|
||||
//model = "vits-zh-aishell3/vits-aishell3.onnx",
|
||||
//tokens = "vits-zh-aishell3/tokens.txt",
|
||||
model = @"C:\Services\Sherpa\model.onnx",
|
||||
lexicon = "",
|
||||
tokens = @"C:\Services\Sherpa\tokens.txt",
|
||||
data_dir = @"C:\Services\Sherpa\espeak-ng-data",
|
||||
|
||||
noise_scale = 0.667f,
|
||||
noise_scale_w = 0.8f,
|
||||
|
||||
Reference in New Issue
Block a user