From 06e445779d09a74f82dd1c4842d0b90b3f9b557c Mon Sep 17 00:00:00 2001 From: yrom Date: Tue, 15 Apr 2025 10:01:22 +0800 Subject: [PATCH] Update README --- README.md | 22 ++++++++++++++++++++-- setup.py | 2 +- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0d15775..badf7aa 100644 --- a/README.md +++ b/README.md @@ -109,13 +109,16 @@ apt-get install ffmpeg Download by `huggingface-cli`: ```bash -# 如果下载速度慢,可以使用官方的镜像 -export HF_ENDPOINT="https://hf-mirror.com" huggingface-cli download IndexTeam/Index-TTS \ bigvgan_discriminator.pth bigvgan_generator.pth bpe.model dvae.pth gpt.pth unigram_12000.vocab \ --local-dir checkpoints ``` +Recommended for China users. 如果下载速度慢,可以使用镜像: +```bash +export HF_ENDPOINT="https://hf-mirror.com" +``` + Or by `wget`: ```bash @@ -154,10 +157,25 @@ indextts --help #### Web Demo ```bash +pip install -e ".[webui]" python webui.py ``` Open your browser and visit `http://127.0.0.1:7860` to see the demo. +#### Note for Windows Users + +On Windows, you may encounter [an error](https://github.com/index-tts/index-tts/issues/61) when installing `pynini`: +`ERROR: Failed building wheel for pynini` + +In this case, please install `pynini` via `conda`: + +```bash +# after conda activate index-tts +conda install -c conda-forge pynini==2.1.5 +pip install WeTextProcessing==1.0.3 +pip install -e ".[webui]" +``` + #### Sample Code ```python from indextts.infer import IndexTTS diff --git a/setup.py b/setup.py index a0e86fc..635d7f3 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( packages=find_packages(), include_package_data=True, install_requires=[ - "torch==2.6.0", + "torch>=2.1.2", "torchaudio", "transformers==4.36.2", "accelerate",