Added keyword argument

This commit is contained in:
Harry Coultas Blum 2022-07-08 14:28:24 +01:00
parent 83cc5eb5b4
commit 75e920438a

View File

@ -95,7 +95,7 @@ Tortoise can be used programmatically, like so:
```python ```python
reference_clips = [utils.audio.load_audio(p, 22050) for p in clips_paths] reference_clips = [utils.audio.load_audio(p, 22050) for p in clips_paths]
tts = api.TextToSpeech() 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 ## Voice customization guide