Add C# and JavaScript (wasm) API for MatchaTTS models (#1682)
This commit is contained in:
@@ -11,6 +11,7 @@ namespace SherpaOnnx
|
||||
public OfflineTtsModelConfig()
|
||||
{
|
||||
Vits = new OfflineTtsVitsModelConfig();
|
||||
Matcha = new OfflineTtsMatchaModelConfig();
|
||||
NumThreads = 1;
|
||||
Debug = 0;
|
||||
Provider = "cpu";
|
||||
@@ -21,5 +22,7 @@ namespace SherpaOnnx
|
||||
public int Debug;
|
||||
[MarshalAs(UnmanagedType.LPStr)]
|
||||
public string Provider;
|
||||
|
||||
public OfflineTtsMatchaModelConfig Matcha;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user