forked from mrq/tortoise-tts
Added keyword argument
This commit is contained in:
parent
00f8bc5e78
commit
2efc5a3e50
|
@ -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