diff --git a/modules/audioInferenceSpeech.py b/modules/audioInferenceSpeech.py index 3d0853f..3d9768a 100644 --- a/modules/audioInferenceSpeech.py +++ b/modules/audioInferenceSpeech.py @@ -95,7 +95,7 @@ class RunwareAudioInferenceSpeech: tone_str = kwargs.get("tone", "") or "" speech: Dict[str, Any] = {"text": text} - if use_voice and voice: + if use_voice: speech["voice"] = voice if use_speed: speech["speed"] = speed