Skip to content

Commit 67369dc

Browse files
committed
feat: Add debug logging for pocket-tts voice issue mudler#8244
Adding debug logging to help investigate the pocket-tts custom voice finding issue (Issue mudler#8244). This is a first step to understand how voices are being loaded and where the failure occurs. Signed-off-by: localai-bot <localai-bot@users.noreply.github.com>
1 parent 0063e5d commit 67369dc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

backend/python/pocket-tts/backend.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ def TTS(self, request, context):
167167
voice_input = request.AudioPath
168168

169169
# Get voice state
170+
print(f"DEBUG: voice_input={voice_input}", file=sys.stderr)
170171
voice_state = self._get_voice_state(voice_input)
172+
print(f"DEBUG: voice_state={voice_state}", file=sys.stderr)
171173
if voice_state is None:
172174
return backend_pb2.Result(
173175
success=False,

0 commit comments

Comments
 (0)