Clarifications regarding voices + fix missing @classmethod (#86)
This commit is contained in:
@@ -173,7 +173,9 @@ class TTSModel(nn.Module):
|
||||
|
||||
return tts_model
|
||||
|
||||
@classmethod
|
||||
def load_model(
|
||||
cls,
|
||||
variant: str = DEFAULT_VARIANT,
|
||||
temp: float | int = DEFAULT_TEMPERATURE,
|
||||
lsd_decode_steps: int = DEFAULT_LSD_DECODE_STEPS,
|
||||
|
||||
@@ -46,6 +46,15 @@
|
||||
Supports: http://, https://, or hf:// URLs.<br>
|
||||
You can also use predefined voices:<br>
|
||||
"alba", "marius", "javert", "jean", "fantine", "cosette", "eponine", "azelma".
|
||||
<br/>
|
||||
You can find more voices in our
|
||||
<a
|
||||
href="https://huggingface.co/kyutai/tts-voices"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="text-blue-600 hover:underline"
|
||||
>
|
||||
voice repository</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -61,6 +70,15 @@
|
||||
/>
|
||||
<p class="text-xs text-gray-500 mt-1">
|
||||
Upload an audio file (WAV, MP3, FLAC, etc.) to use as voice reference. Takes precedence over voice URL.
|
||||
For best results,
|
||||
<a
|
||||
href="https://podcast.adobe.com/en/enhance"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="text-blue-600 hover:underline"
|
||||
>clean the sample</a
|
||||
>
|
||||
first.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user