Add C# API for Kokoro TTS models (#1720)

This commit is contained in:
Fangjun Kuang
2025-01-16 16:30:10 +08:00
committed by GitHub
parent 2d0869c709
commit cc812e6237
11 changed files with 381 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ namespace SherpaOnnx
{
Vits = new OfflineTtsVitsModelConfig();
Matcha = new OfflineTtsMatchaModelConfig();
Kokoro = new OfflineTtsKokoroModelConfig();
NumThreads = 1;
Debug = 0;
Provider = "cpu";
@@ -24,5 +25,6 @@ namespace SherpaOnnx
public string Provider;
public OfflineTtsMatchaModelConfig Matcha;
public OfflineTtsKokoroModelConfig Kokoro;
}
}