diff --git a/platypush/plugins/tts/openai/__init__.py b/platypush/plugins/tts/openai/__init__.py index 2cd04c7e26..287cd50d0a 100644 --- a/platypush/plugins/tts/openai/__init__.py +++ b/platypush/plugins/tts/openai/__init__.py @@ -124,6 +124,8 @@ class TtsOpenaiPlugin(TtsPlugin): duration, channels etc.). """ response_processor: Optional[Process] = None + # The language argument isn't required here + player_args.pop('language', None) try: response = self._make_request(text, model=model, voice=voice)