Skip to content

Commit a3f7de7

Browse files
committed
fixed outetts docs
1 parent 6e42e67 commit a3f7de7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/outetts/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ However, it can be slightly challenging to set it up.
1515
You can also create your own cloned speaker voice.
1616
To do that, you will need Python 3.10+ with the `outetts` package installed. You can install it with this commands:
1717
```
18-
pip install outetts --no-deps
18+
pip install outetts==0.3.3 --no-deps
1919
pip install scipy einops pyyaml huggingface-hub encodec matplotlib transformers pytorch-lightning tensorboardX soundfile numpy jsonargparse torchcrepe librosa inflect loguru polars natsort tqdm sounddevice mecab-python3 unidic-lite uroman openai-whisper pygame accelerate
2020
```
2121
Then after that, obtain a wav file containing a sample of the voice you want to clone.

examples/outetts/voice_cloning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
interface = outetts.InterfaceHF(model_version="0.2", cfg=model_config)
1010

1111
speaker = interface.create_speaker(
12-
audio_path="/path/to/audio.wav",
12+
audio_path="input_audio.wav",
1313

1414
# If transcript is not provided, it will be automatically transcribed using Whisper
1515
transcript=None, # Set to None to use Whisper for transcription

0 commit comments

Comments
 (0)