mirror of
https://github.com/pstrueb/piper.git
synced 2026-05-04 04:58:01 +00:00
Add "speaker" to JSON input
This commit is contained in:
@@ -61,6 +61,9 @@ struct SynthesisConfig {
|
||||
|
||||
struct ModelConfig {
|
||||
int numSpeakers;
|
||||
|
||||
// speaker name -> id
|
||||
std::optional<std::map<std::string, SpeakerId>> speakerIdMap;
|
||||
};
|
||||
|
||||
struct ModelSession {
|
||||
|
||||
Reference in New Issue
Block a user