forked from mrq/tortoise-tts
Added keyword argument
This commit is contained in:
parent
83cc5eb5b4
commit
75e920438a
|
@ -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