diff --git a/src/pipecat/services/openai/tts.py b/src/pipecat/services/openai/tts.py index 01a8fb7d8..634b0a22e 100644 --- a/src/pipecat/services/openai/tts.py +++ b/src/pipecat/services/openai/tts.py @@ -70,7 +70,7 @@ class OpenAITTSService(TTSService): if sample_rate and sample_rate != self.OPENAI_SAMPLE_RATE: logger.warning( f"OpenAI TTS only supports {self.OPENAI_SAMPLE_RATE}Hz sample rate. " - f"Current rate of {self.sample_rate}Hz may cause issues." + f"Current rate of {sample_rate}Hz may cause issues." ) super().__init__(sample_rate=sample_rate, **kwargs)