Merge pull request #122 from mogwai/fix/readme-instructions

Added keyword argument for API usage in README
This commit is contained in:
James Betker 2022-07-08 08:22:43 -06:00 committed by GitHub
commit dd88ad6be6

View File

@ -95,7 +95,7 @@ Tortoise can be used programmatically, like so:
```python
reference_clips = [utils.audio.load_audio(p, 22050) for p in clips_paths]
tts = api.TextToSpeech()
pcm_audio = tts.tts_with_preset("your text here", reference_clips, preset='fast')
pcm_audio = tts.tts_with_preset("your text here", voice_samples=reference_clips, preset='fast')
```
## Voice customization guide