Update install.md
This commit is contained in:
@@ -8,10 +8,8 @@
|
|||||||
- [CLI](#cli)
|
- [CLI](#cli)
|
||||||
- [Python API](#python-api)
|
- [Python API](#python-api)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Linux Install
|
### Linux Install
|
||||||
Use pip to install from github repo.
|
The repo is developed and tested on `Ubuntu 20.04` and `Python 3.9`. Use pip to install from github repo.
|
||||||
```bash
|
```bash
|
||||||
pip install git+https://github.com/myshell-ai/MeloTTS.git
|
pip install git+https://github.com/myshell-ai/MeloTTS.git
|
||||||
python -m unidic download
|
python -m unidic download
|
||||||
@@ -231,4 +229,4 @@ speaker_ids = model.hps.data.spk2id
|
|||||||
|
|
||||||
output_path = 'kr.wav'
|
output_path = 'kr.wav'
|
||||||
model.tts_to_file(text, speaker_ids['KR'], output_path, speed=speed)
|
model.tts_to_file(text, speaker_ids['KR'], output_path, speed=speed)
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user