You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was testing, this error occurred. How can I solve it?
`<<< Lina: John, nice to meet you at this bar in Las Vegas.Exception in thread Thread-7:
Traceback (most recent call last):
File "D:\Dev\Miniconda\envs\ai\lib\threading.py", line 980, in _bootstrap_inner
self.run()
File "D:\Dev\Miniconda\envs\ai\lib\threading.py", line 917, in run
self._target(*self._args, **self._kwargs)
File "D:\Dev\Miniconda\envs\ai\lib\site-packages\RealtimeTTS\text_to_stream.py", line 201, in synthesize_worker
self.engine.synthesize(sentence)
File "D:\Dev\Miniconda\envs\ai\lib\site-packages\RealtimeTTS\engines\coqui_engine.py", line 402, in synthesize
self.send_command('synthesize', data)
File "D:\Dev\Miniconda\envs\ai\lib\site-packages\RealtimeTTS\engines\coqui_engine.py", line 315, in send_command
self.parent_synthesize_pipe.send(message)
File "D:\Dev\Miniconda\envs\ai\lib\multiprocessing\connection.py", line 206, in send
self._send_bytes(_ForkingPickler.dumps(obj))
File "D:\Dev\Miniconda\envs\ai\lib\multiprocessing\connection.py", line 280, in _send_bytes
ov, err = _winapi.WriteFile(self._handle, buf, overlapped=True)
BrokenPipeError: [WinError 232] 管道正在被关闭。`( The pipe is being closed)
Python version: 3.9.19
best regard
The text was updated successfully, but these errors were encountered:
Looks like the synthesize worker process terminated unexpectedly. Most probable reason I guess is coqui tts installation not working correctly. Can you please test if a basic coqui tts example is working?
importtorchfromTTS.apiimportTTS# Get devicedevice="cuda"iftorch.cuda.is_available() else"cpu"# Init TTStts=TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
# Run TTSwav=tts.tts(text="Hello world!", speaker_wav="my/cloning/audio.wav", language="en")
(speaker_wav must point to a valid cloning wave file like this one)
Hello Author,
When I was testing, this error occurred. How can I solve it?
`<<< Lina: John, nice to meet you at this bar in Las Vegas.Exception in thread Thread-7:
Traceback (most recent call last):
File "D:\Dev\Miniconda\envs\ai\lib\threading.py", line 980, in _bootstrap_inner
self.run()
File "D:\Dev\Miniconda\envs\ai\lib\threading.py", line 917, in run
self._target(*self._args, **self._kwargs)
File "D:\Dev\Miniconda\envs\ai\lib\site-packages\RealtimeTTS\text_to_stream.py", line 201, in synthesize_worker
self.engine.synthesize(sentence)
File "D:\Dev\Miniconda\envs\ai\lib\site-packages\RealtimeTTS\engines\coqui_engine.py", line 402, in synthesize
self.send_command('synthesize', data)
File "D:\Dev\Miniconda\envs\ai\lib\site-packages\RealtimeTTS\engines\coqui_engine.py", line 315, in send_command
self.parent_synthesize_pipe.send(message)
File "D:\Dev\Miniconda\envs\ai\lib\multiprocessing\connection.py", line 206, in send
self._send_bytes(_ForkingPickler.dumps(obj))
File "D:\Dev\Miniconda\envs\ai\lib\multiprocessing\connection.py", line 280, in _send_bytes
ov, err = _winapi.WriteFile(self._handle, buf, overlapped=True)
BrokenPipeError: [WinError 232] 管道正在被关闭。`( The pipe is being closed)
Python version: 3.9.19
best regard
The text was updated successfully, but these errors were encountered: