mirror of
https://github.com/mudler/LocalAI.git
synced 2026-03-31 21:25:59 -04:00
Adding debug logging to help investigate the pocket-tts custom voice finding issue (Issue #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> Co-authored-by: localai-bot <localai-bot@users.noreply.github.com>
This commit is contained in:
@@ -167,7 +167,9 @@ class BackendServicer(backend_pb2_grpc.BackendServicer):
|
||||
voice_input = request.AudioPath
|
||||
|
||||
# Get voice state
|
||||
print(f"DEBUG: voice_input={voice_input}", file=sys.stderr)
|
||||
voice_state = self._get_voice_state(voice_input)
|
||||
print(f"DEBUG: voice_state={voice_state}", file=sys.stderr)
|
||||
if voice_state is None:
|
||||
return backend_pb2.Result(
|
||||
success=False,
|
||||
|
||||
Reference in New Issue
Block a user