Dev kemurin (#284)

* update deps for windows

* update reqs & README

* update README.md

* update README.md

---------

Co-authored-by: wangyining02 <wangyining02@bilibili.com>
This commit is contained in:
kemuriririn 2025-09-08 21:53:27 +08:00 committed by GitHub
parent fd0a77d390
commit 474ec9b6cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 24 deletions

View File

@ -98,10 +98,10 @@ The key contributions of **indextts2** are summarized as follows:
1. Download this repository:
```bash
git clone https://github.com/index-tts/index-tts.git
git lfs pull
git lfs pull # fetch example files
```
2. Install dependencies:
We use `uv` to initialize and manage the projects dependency environment.
We use `uv` to manage the projects dependency environment.
```bash
uv sync
```
@ -110,26 +110,7 @@ uv sync
Download by `huggingface-cli`:
```bash
huggingface-cli download IndexTeam/IndexTTS-2 \
bpe.model config.yaml feat1.pt feat2.pt gpt.pth qwen0.6bemo4-merge s2mel.pth wav2vec2bert_stats.pt
--local-dir checkpoints
```
Or by `wget`:
```bash
wget https://huggingface.co/IndexTeam/IndexTTS-2/resolve/main/bpe.model -P checkpoints
wget https://huggingface.co/IndexTeam/IndexTTS-2/resolve/main/config.yaml -P checkpoints
wget https://huggingface.co/IndexTeam/IndexTTS-2/resolve/main/feat1.pt -P checkpoints
wget https://huggingface.co/IndexTeam/IndexTTS-2/resolve/main/feat2.pt -P checkpoints
wget https://huggingface.co/IndexTeam/IndexTTS-2/resolve/main/gpt.pth -P checkpoints
wget https://huggingface.co/IndexTeam/IndexTTS-2/resolve/main/qwen0.6bemo4-merge -P checkpoints
wget https://huggingface.co/IndexTeam/IndexTTS-2/resolve/main/s2mel.pth -P checkpoints
wget https://huggingface.co/IndexTeam/IndexTTS-2/resolve/main/wav2vec2bert_stats.pt -P checkpoints
```
Recommended for China users. 如果下载速度慢,可以使用镜像:
```bash
export HF_ENDPOINT="https://hf-mirror.com"
hf download IndexTeam/IndexTTS-2 --local-dir=checkpoints
```
Or download by `modelscope`
@ -137,6 +118,13 @@ Or download by `modelscope`
modelscope download --model IndexTeam/IndexTTS-2 --local_dir checkpoints
```
>In addition to the above models, some small models will also be automatically downloaded when the project is run for the first time. If your network environment has slow access to HuggingFace, it is recommended to execute command below. <br>
除了以上模型外项目初次运行时还会自动下载一些小模型如果您的网络环境访问HuggingFace的速度较慢推荐执行
>```bash
>export HF_ENDPOINT="https://hf-mirror.com"
>```
### IndexTTS2 Quickstart

View File

@ -26,5 +26,5 @@ gradio
tqdm
textstat
WeTextProcessing; platform_machine != "Darwin"
wetext; platform_system == "Darwin"
WeTextProcessing; platform_machine == "Linux"
wetext; platform_system != "Linux"