Fixed conditional statement

This commit is contained in:
Sirshendu Ganguly
2026-03-19 14:49:26 -04:00
parent 7ed4f7f531
commit 297dcaeb13
+1 -1
View File
@@ -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