56 lines
4.2 KiB
Plaintext
56 lines
4.2 KiB
Plaintext
2025-12-09 01:20:00,800 - services.tts_service - INFO - TTSService initialized
|
|
INFO: Started server process [16888]
|
|
INFO: Waiting for application startup.
|
|
INFO: Application startup complete.
|
|
INFO: Uvicorn running on http://0.0.0.0:8001 (Press CTRL+C to quit)
|
|
2025-12-09 01:20:05,976 - main - INFO - Health check requested
|
|
INFO: 127.0.0.1:53074 - "GET /api/health HTTP/1.1" 200 OK
|
|
2025-12-09 01:20:17,355 - main - INFO - Audio generation requested: lang=a, roles=1, speed=1.0
|
|
2025-12-09 01:20:17,355 - main - ERROR - Empty text provided
|
|
INFO: 127.0.0.1:53084 - "POST /api/tts HTTP/1.1" 400 Bad Request
|
|
2025-12-09 01:20:17,356 - main - INFO - Audio generation requested: lang=invalid, roles=1, speed=1.0
|
|
2025-12-09 01:20:17,356 - main - ERROR - Invalid language code: invalid
|
|
INFO: 127.0.0.1:53086 - "POST /api/tts HTTP/1.1" 400 Bad Request
|
|
2025-12-09 01:20:17,357 - main - INFO - Audio generation requested: lang=a, roles=1, speed=2.0
|
|
2025-12-09 01:20:17,357 - main - ERROR - Invalid speed value: 2.0
|
|
INFO: 127.0.0.1:53088 - "POST /api/tts HTTP/1.1" 400 Bad Request
|
|
2025-12-09 01:20:17,359 - main - INFO - Audio generation requested: lang=a, roles=0, speed=1.0
|
|
2025-12-09 01:20:17,359 - main - ERROR - No role mappings provided
|
|
INFO: 127.0.0.1:53090 - "POST /api/tts HTTP/1.1" 400 Bad Request
|
|
2025-12-09 01:20:17,360 - main - INFO - Audio generation requested: lang=a, roles=1, speed=1.0
|
|
2025-12-09 01:20:17,360 - services.tts_service - INFO - Generating audiobook: lang=a, speed=1.0, roles=1
|
|
2025-12-09 01:20:17,360 - services.tts_service - INFO - Initializing KPipeline for language: a
|
|
/Users/home/Projects/audiobook/backend/venv/lib/python3.12/site-packages/torch/nn/modules/rnn.py:123: UserWarning: dropout option adds dropout after all but last recurrent layer, so non-zero dropout expects num_layers greater than 1, but got dropout=0.2 and num_layers=1
|
|
warnings.warn(
|
|
/Users/home/Projects/audiobook/backend/venv/lib/python3.12/site-packages/torch/nn/utils/weight_norm.py:144: FutureWarning: `torch.nn.utils.weight_norm` is deprecated in favor of `torch.nn.utils.parametrizations.weight_norm`.
|
|
WeightNorm.apply(module, name, dim)
|
|
2025-12-09 01:20:18,922 - services.tts_service - INFO - Successfully initialized pipeline for language: a
|
|
2025-12-09 01:20:18,922 - services.tts_service - INFO - Segmented text into 1 segments
|
|
2025-12-09 01:20:19,494 - services.tts_service - INFO - Generated audiobook: 44 bytes
|
|
WARNING: Defaulting repo_id to hexgrad/Kokoro-82M. Pass repo_id='hexgrad/Kokoro-82M' to suppress this warning.
|
|
INFO: 127.0.0.1:53092 - "POST /api/tts HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:54291 - "OPTIONS /api/tts/roles HTTP/1.1" 200 OK
|
|
2025-12-09 10:15:45,219 - main - INFO - Role detection requested for text of length 4
|
|
2025-12-09 10:15:45,226 - main - INFO - Detected 1 roles: ['Narrator']
|
|
INFO: 127.0.0.1:54291 - "POST /api/tts/roles HTTP/1.1" 200 OK
|
|
INFO: 127.0.0.1:54296 - "OPTIONS /api/tts HTTP/1.1" 200 OK
|
|
2025-12-09 10:15:51,949 - main - INFO - Audio generation requested: lang=a, roles=1, speed=1.0
|
|
2025-12-09 10:15:51,953 - services.tts_service - INFO - Generating audiobook: lang=a, speed=1.0, roles=1
|
|
2025-12-09 10:15:51,955 - services.tts_service - INFO - Segmented text into 1 segments
|
|
Fatal Python error: init_sys_streams: can't initialize sys standard streams
|
|
Python runtime state: core initialized
|
|
OSError: [Errno 9] Bad file descriptor
|
|
|
|
Current thread 0x00000001f799e080 (most recent call first):
|
|
<no Python frame>
|
|
2025-12-09 10:15:55,293 - services.tts_service - INFO - Generated audiobook: 44 bytes
|
|
INFO: 127.0.0.1:54296 - "POST /api/tts HTTP/1.1" 200 OK
|
|
2025-12-09 10:16:52,356 - main - INFO - Role detection requested for text of length 40
|
|
2025-12-09 10:16:52,358 - main - INFO - Detected 1 roles: ['Narrator']
|
|
INFO: 127.0.0.1:54431 - "POST /api/tts/roles HTTP/1.1" 200 OK
|
|
2025-12-09 10:17:02,016 - main - INFO - Audio generation requested: lang=a, roles=1, speed=1.0
|
|
2025-12-09 10:17:02,017 - services.tts_service - INFO - Generating audiobook: lang=a, speed=1.0, roles=1
|
|
2025-12-09 10:17:02,018 - services.tts_service - INFO - Segmented text into 1 segments
|
|
2025-12-09 10:17:02,814 - services.tts_service - INFO - Generated audiobook: 44 bytes
|
|
INFO: 127.0.0.1:54433 - "POST /api/tts HTTP/1.1" 200 OK
|