Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
iMechainc opened this issue Sep 1, 2024 · 2 comments
Open

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

iMechainc opened this issue Sep 1, 2024 · 2 comments

Comments

@iMechainc
Copy link

运行环境: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
Copy link

image

@hemidio
Copy link

hemidio commented Sep 19, 2024

  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\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants