forked from platypush/platypush
tts.openai.say doesn't need a language parameter - and its presence breaks playback
This commit is contained in:
parent
bc01cddee0
commit
9244eedc49
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue