diff --git a/src/python_run/piper/__init__.py b/src/python_run/piper/__init__.py index e14d2c9..8c521ed 100644 --- a/src/python_run/piper/__init__.py +++ b/src/python_run/piper/__init__.py @@ -87,7 +87,7 @@ class Piper: 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 speaker_id = 0