From 297dcaeb135ce15e9a18a4ad9e6016000ffc1fc5 Mon Sep 17 00:00:00 2001 From: Sirshendu Ganguly Date: Thu, 19 Mar 2026 14:49:26 -0400 Subject: [PATCH] Fixed conditional statement --- modules/audioInferenceSpeech.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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