# index_TTS **Repository Path**: db123/index_-tts ## Basic Information - **Project Name**: index_TTS - **Description**: index_TTS使用安装教程 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-06 - **Last Updated**: 2025-07-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Anaconda Prompt ``` conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/msys2 conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda conda config --set show_channel_urls yes ``` 删除镜像 ``` conda config --remove-key channels ``` 查看镜像列表 ``` conda config --show channels ``` 三创建项目conda环境 ``` conda create -n index-tts python=3.10 conda activate index-tts ``` 安装Pynini ``` conda install -c conda-forge pynini==2.1.6 pip install WeTextProcessing --no-deps ``` 安装PyTorch CPU版本 ``` pip3 install torch torchvision torchaudio ``` https://pytorch.org ``` git clone https://github.com/index-tts/index-tts.git ``` 进到代码目录 执行 ``` pip install -e . pip install gradio modelscope ``` 八模型下载 kIndexTT目前有两个版本,分别为IndexTTS和IndexTTS-1.5,1.5版本显著提升了模型的稳定性和英语语言性能。根据需要选择 IndexTTS-1.5 ``` modelscope download --model IndexTeam/IndexTTS-1.5 --local_dir models/IndexTTS-1.5 ``` IndexTTS ``` modelscope download --model IndexTeam/IndexTTS --local_dir models/IndexTTS ``` 九启动Web页面 IndexTTS-1.5 ``` python webui.py --model_dir models/IndexTTS-1.5 ``` IndexTTS ``` python webui.py --model_dir models/IndexTTS ``` ######### ### 使用过程中出现多音字 例如 发卡 改成 fa1ka2 也可以 [fa1][ka2]