From ca91bc0f7ee72058d205c628d87ece50a82a1e03 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Wed, 4 Oct 2023 12:03:16 -0700 Subject: [PATCH] Add log around compat. handling --- neon_audio/tts/neon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/neon_audio/tts/neon.py b/neon_audio/tts/neon.py index 069532a..c50a6d1 100644 --- a/neon_audio/tts/neon.py +++ b/neon_audio/tts/neon.py @@ -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"}]):