forked from mrq/tortoise-tts
Merge pull request #122 from mogwai/fix/readme-instructions
Added keyword argument for API usage in README
This commit is contained in:
commit
dd88ad6be6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user