diff --git a/src/pipecat/services/gradium/tts.py b/src/pipecat/services/gradium/tts.py index 2f03d6405..8a04f2db6 100644 --- a/src/pipecat/services/gradium/tts.py +++ b/src/pipecat/services/gradium/tts.py @@ -270,7 +270,7 @@ class GradiumTTSService(InterruptibleWordTTSService): elif msg["type"] == "error": await self.push_frame(TTSStoppedFrame()) await self.stop_all_metrics() - await self.push_error(error_msg=f"Error: {msg['message']}")) + await self.push_error(error_msg=f"Error: {msg['message']}") async def push_frame(self, frame: Frame, direction: FrameDirection = FrameDirection.DOWNSTREAM): """Push frame and handle end-of-turn conditions.