DEBUG:sherpa_onnx_addon:CLI Args: Namespace(pipeline='default', language='zh-CN', speed=1.2, stt_model='sherpa-onnx-paraformer-zh-small-2024-03-09', stt_use_int8_onnx_model=True, stt_thread_num=4, tts_model='vits-melo-tts-zh_en', tts_thread_num=3, tts_speaker_sid=4, debug=True, custom_stt_model='null', custom_stt_model_eval='null', custom_tts_model='null', custom_tts_model_eval='null', host='0.0.0.0', port=10400, provider='cpu')
DEBUG:sherpa_onnx_addon:Received event: Event(type='synthesize', data={'text': '现在是北', 'voice': {'name': 'vits-melo-tts-zh_en'}}, payload=None)
/project/sherpa-onnx/csrc/offline-tts-vits-impl.h:Generate:179 This model contains only 1 speakers. sid should be in the range [0, 0]. Given: 4. Use sid=0
/project/sherpa-onnx/csrc/offline-tts-vits-impl.h:Generate:192 Raw text: 现在是北
/project/sherpa-onnx/csrc/offline-tts-vits-impl.h:Generate:203 After normalizing: 现在是北
/project/sherpa-onnx/csrc/offline-tts-vits-impl.h:Generate:203 After normalizing: 现在是北
/project/sherpa-onnx/csrc/offline-tts-vits-impl.h:Generate:203 After normalizing: 现在是北
/project/sherpa-onnx/csrc/offline-tts-vits-impl.h:Generate:203 After normalizing: 现在是北
/project/sherpa-onnx/csrc/melo-tts-lexicon.cc:ConvertTextToTokenIds:166 input text: 现在是北
/project/sherpa-onnx/csrc/melo-tts-lexicon.cc:ConvertTextToTokenIds:167 after replacing punctuations: 现在是北
/project/sherpa-onnx/csrc/melo-tts-lexicon.cc:ConvertTextToTokenIds:169 after jieba processing: 现在_是_北
DEBUG:sherpa_onnx_addon:Synthesizing: 现在是北
DEBUG:sherpa_onnx_addon:Sent Audio Start
DEBUG:sherpa_onnx_addon:Sent TTS Chunk
DEBUG:sherpa_onnx_addon:Sent Audio Stop
DEBUG:sherpa_onnx_addon:CLI Args: Namespace(pipeline='default', language='zh-CN', speed=1.2, stt_model='sherpa-onnx-paraformer-zh-small-2024-03-09', stt_use_int8_onnx_model=True, stt_thread_num=4, tts_model='vits-melo-tts-zh_en', tts_thread_num=3, tts_speaker_sid=4, debug=True, custom_stt_model='null', custom_stt_model_eval='null', custom_tts_model='null', custom_tts_model_eval='null', host='0.0.0.0', port=10400, provider='cpu')
DEBUG:sherpa_onnx_addon:Received event: Event(type='synthesize', data={'text': '现在是北京时间:20:28', 'voice': {'name': 'vits-melo-tts-zh_en'}}, payload=None)
/project/sherpa-onnx/csrc/offline-tts-vits-impl.h:Generate:179 This model contains only 1 speakers. sid should be in the range [0, 0]. Given: 4. Use sid=0
/project/sherpa-onnx/csrc/offline-tts-vits-impl.h:Generate:192 Raw text: 现在是北京时间:20:28
/project/sherpa-onnx/csrc/offline-tts-vits-impl.h:Generate:203 After normalizing: 现在是北京时间:20:28
/project/sherpa-onnx/csrc/offline-tts-vits-impl.h:Generate:203 After normalizing: 现在是北京时间:20:28
/project/sherpa-onnx/csrc/offline-tts-vits-impl.h:Generate:203 After normalizing: 现在是北京时间:二十:二十八
/project/sherpa-onnx/csrc/offline-tts-vits-impl.h:Generate:203 After normalizing: 现在是北京时间:二十:二十八
/project/sherpa-onnx/csrc/melo-tts-lexicon.cc:ConvertTextToTokenIds:166 input text: 现在是北京时间:二十:二十八
/project/sherpa-onnx/csrc/melo-tts-lexicon.cc:ConvertTextToTokenIds:167 after replacing punctuations: 现在是北京时间,二十:二十八
/project/sherpa-onnx/csrc/melo-tts-lexicon.cc:ConvertTextToTokenIds:169 after jieba processing: 现在_是_北京_时间_:_二十_:_二十八
DEBUG:sherpa_onnx_addon:Synthesizing: 现在是北京时间:20:28
DEBUG:sherpa_onnx_addon:Sent Audio Start
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='wyoming event handler' coro=<AsyncEventHandler.run() done, defined at /usr/local/lib/python3.11/dist-packages/wyoming/server.py:31> exception=ConnectionResetError('Connection lost')>
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/wyoming/server.py", line 41, in run
if not (await self.handle_event(event)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/run.py", line 147, in handle_event
await self.write_event(
File "/usr/local/lib/python3.11/dist-packages/wyoming/server.py", line 29, in write_event
await async_write_event(event, self.writer)
File "/usr/local/lib/python3.11/dist-packages/wyoming/event.py", line 131, in async_write_event
await writer.drain()
File "/usr/lib/python3.11/asyncio/streams.py", line 378, in drain
await self._protocol._drain_helper()
File "/usr/lib/python3.11/asyncio/streams.py", line 167, in _drain_helper
raise ConnectionResetError('Connection lost')
ConnectionResetError: Connection lost
DEBUG:sherpa_onnx_addon:CLI Args: Namespace(pipeline='default', language='zh-CN', speed=1.2, stt_model='sherpa-onnx-paraformer-zh-small-2024-03-09', stt_use_int8_onnx_model=True, stt_thread_num=4, tts_model='vits-melo-tts-zh_en', tts_thread_num=3, tts_speaker_sid=4, debug=True, custom_stt_model='null', custom_stt_model_eval='null', custom_tts_model='null', custom_tts_model_eval='null', host='0.0.0.0', port=10400, provider='cpu')