2noise / ChatTTS

A generative speech model for daily dialogue.
https://2noise.com
GNU Affero General Public License v3.0
32.47k stars 3.52k forks source link

Python pip install chattts but error panic: The handle is invalid. #620

Closed Jacky1y closed 3 months ago

Jacky1y commented 4 months ago
pip install chattts

but error

panic: The handle is invalid.**

goroutine 1 [running]:
rvcmd/console.init.0()
    rvcmd/console/console_windows.go:46 +0x1d4
download to local path D:\1 yangzhen\make video failed.
vocos not initialized.
gpt not initialized.
tokenizer not initialized.
decoder not initialized.
Traceback (most recent call last):
  File "py", line 22, in <module>
    wavs = chat.infer(texts)
  File "\lib\site-packages\ChatTTS\core.py", line 242, in infer
    return next(res_gen)
  File \lib\site-packages\ChatTTS\core.py", line 360, in _infer
    assert self.has_loaded(use_decoder=use_decoder)
AssertionError
fumiama commented 3 months ago

请勿在IDE中直接点击运行。