HKoon / ChatTTS-OpenVoice

Fuse ChatTTS with OpenVoice, upload a 10-second audio clip, and clone your personalized ChatTTS voice.
https://huggingface.co/spaces/Hilley/ChatTTS-OpenVoice
Other
304 stars 39 forks source link

运行app.py会出错,请问要怎么解决 #7

Open iMechainc opened 2 weeks ago

iMechainc commented 2 weeks ago

运行环境:64位win10,python3.10 运行app.py会出现以下错误: Traceback (most recent call last): File "E:\AI\ChatTTS-OpenVoice\app.py", line 12, in from OpenVoice import se_extractor ImportError: cannot import name 'se_extractor' from 'OpenVoice' (unknown location)

yipeng7816 commented 1 week ago

image

hemidio commented 5 hours ago
  1. clone code from https://github.com/myshell-ai/OpenVoice/tree/main,
  2. replace OpenVoice folder with the inner openvoice folder of new download project
  3. replace all 'openvoice' with 'OpenVoice' in import code
  4. download checkpoint file from https://myshell-public-repo-host.s3.amazonaws.com/openvoice/checkpoints_v2_0417.zip
  5. unzip zip file, rename checkpoints_v2 to checkpoints and copy it to \ChatTTS-OpenVoice\OpenVoice\