Add "speaker" to JSON input

This commit is contained in:
Michael Hansen
2023-07-10 12:46:46 -05:00
parent 0a5d144656
commit 42d14ef21f
4 changed files with 27 additions and 1 deletions

View File

@@ -61,6 +61,9 @@ struct SynthesisConfig {
struct ModelConfig {
int numSpeakers;
// speaker name -> id
std::optional<std::map<std::string, SpeakerId>> speakerIdMap;
};
struct ModelSession {