Skip to content

Commit

Permalink
Add log around compat. handling
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Oct 4, 2023
1 parent 1a67660 commit ca91bc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neon_audio/tts/neon.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def _init_playback(self):
def _get_tts(self, sentence: str, request: dict = None, **kwargs):
if isinstance(request, str):
# OVOS-compat signature; args[2] is lang
LOG.info(f"Handling args[2] {request} as language")
request = {"language": request}
if any([x in inspect.signature(self.get_tts).parameters
for x in {"speaker", "wav_file"}]):
Expand Down

0 comments on commit ca91bc0

Please sign in to comment.