diff --git a/README.md b/README.md index 3c52e36..dd3bfa1 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ for each voice. The `--voice` argument can also take a plain wav file as input for voice cloning. You can use your own or check out our [voice repository](https://huggingface.co/kyutai/tts-voices). +We recommend [cleaning the sample](https://podcast.adobe.com/en/enhance) before using it with Pocket TTS, because the audio quality of the sample is also reproduced. Feel free to check out the [generate documentation](https://github.com/kyutai-labs/pocket-tts/tree/main/docs/generate.md) for more details and examples. For trying multiple voices and prompts quickly, prefer using the `serve` command. diff --git a/pocket_tts/models/tts_model.py b/pocket_tts/models/tts_model.py index d733f95..4a95431 100644 --- a/pocket_tts/models/tts_model.py +++ b/pocket_tts/models/tts_model.py @@ -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, diff --git a/pocket_tts/static/index.html b/pocket_tts/static/index.html index a52efa2..6aa17ba 100644 --- a/pocket_tts/static/index.html +++ b/pocket_tts/static/index.html @@ -46,6 +46,15 @@ Supports: http://, https://, or hf:// URLs.
You can also use predefined voices:
"alba", "marius", "javert", "jean", "fantine", "cosette", "eponine", "azelma". +
+ You can find more voices in our + + voice repository.

@@ -61,6 +70,15 @@ />

Upload an audio file (WAV, MP3, FLAC, etc.) to use as voice reference. Takes precedence over voice URL. + For best results, + clean the sample + first.