2noise / ChatTTS

A generative speech model for daily dialogue.
https://2noise.com
Other
26.77k stars 2.91k forks source link

fix(install): incomplete installation #429

Closed JavanTang closed 1 week ago

JavanTang commented 1 week ago

426

Modify as follows:

  1. Add the __init__.py file to ensure that setup is automatically imported.

    ChatTTS/
    ├── experimental/
    │   └── ...
    ├── infer/
    │   ├── __init__.py       # 确保这个文件存在
    │   ├── model/
    │   │   ├── __init__.py   # 确保这个文件存在
    │   │   ├── dva.py
    │   │   └── gpt.py
    │   └── utils/
    │       ├── __init__.py   # 确保这个文件存在
    │       └── ...
    └── ...
  2. Modify setup.py to make sure homophones_map.json is imported properly.