chore: set recommended python version to 3.12.6

This commit is contained in:
ayo 2026-05-21 19:18:31 +02:00
parent e61034cc3a
commit 03d956b590

View file

@ -54,7 +54,7 @@ cd simple-tts
Create new [Python virtual environment](https://realpython.com/python-virtual-environments-a-primer/). Here I use [`conda`](https://docs.conda.io/projects/conda/en/latest/user-guide/install/), but [venv](https://docs.python.org/3/library/venv.html) is also good.
```bash
conda create -n tts python=3.13
conda create -n tts python=3.12.6
### (optional) for Intel XPU specific device usage:
conda create -n tts-intel --clone llm-pt26
@ -67,7 +67,7 @@ Activate the environment and install the dependencies
```bash
conda activate tts
pip install -r requirements.txt
python -m pip install -r requirements.txt
```
### Language-specific setup
@ -76,13 +76,13 @@ For some languages, you might need to install specific python dependencies. For
```bash
# Before using zf or zm prefixed voices...
pip install -r requirements-zh.txt
python -m pip install -r requirements-zh.txt
## then you can use voices for Chinese texts:
python tts.py -v zf_xiaoni "事实胜于雄辩"
## Before using jf or jm prefixed voices...
pip install -r requirements-jp.txt
python -m pip install -r requirements-jp.txt
## then you can use voices for Japanese texts:
python tts.py -v jf_alpha "言い習わし"