This commit is contained in:
Michael Hansen
2023-07-07 10:38:31 -05:00

View File

@@ -87,7 +87,7 @@ class Piper:
dtype=np.float32, dtype=np.float32,
) )
if (self.config.num_speakers > 1) and (speaker_id is not None): if (self.config.num_speakers > 1) and (speaker_id is None):
# Default speaker # Default speaker
speaker_id = 0 speaker_id = 0