Instructions to use coder543/pocket-tts-glade with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Pocket-TTS
How to use coder543/pocket-tts-glade with Pocket-TTS:
from pocket_tts import TTSModel import scipy.io.wavfile tts_model = TTSModel.load_model("coder543/pocket-tts-glade") voice_state = tts_model.get_state_for_audio_prompt( "hf://kyutai/tts-voices/alba-mackenna/casual.wav" ) audio = tts_model.generate_audio(voice_state, "Hello world, this is a test.") # Audio is a 1D torch tensor containing PCM data. scipy.io.wavfile.write("output.wav", tts_model.sample_rate, audio.numpy()) - Notebooks
- Google Colab
- Kaggle
Download metadata.json from coder543/pocket-tts-glade: direct link, hf CLI and curl.
- Browser
- Download file 1.89 kB
-
https://huggingface.co/coder543/pocket-tts-glade/resolve/main/metadata.json
- Command line
-
hf download hf://coder543/pocket-tts-glade/metadata.json
-
curl -L -o metadata.json https://huggingface.co/coder543/pocket-tts-glade/resolve/main/metadata.json
1.89 kB
| { | |
| "schema_version": 2, | |
| "model_family": "pocket", | |
| "default_language": "en", | |
| "language_profiles": [ | |
| { | |
| "id": "en", | |
| "name": "English", | |
| "directory": "profiles/en", | |
| "voices": [ | |
| "alba", | |
| "anna", | |
| "example-reader-a", | |
| "example-reader-b", | |
| "example-kokoro-heart", | |
| "example-kokoro-adam" | |
| ] | |
| }, | |
| { | |
| "id": "fr", | |
| "name": "French", | |
| "directory": "profiles/fr", | |
| "voices": [ | |
| "estelle", | |
| "example-reader-a", | |
| "example-reader-b", | |
| "example-kokoro-heart", | |
| "example-kokoro-adam" | |
| ] | |
| }, | |
| { | |
| "id": "de", | |
| "name": "German", | |
| "directory": "profiles/de", | |
| "voices": [ | |
| "juergen", | |
| "example-reader-a", | |
| "example-reader-b", | |
| "example-kokoro-heart", | |
| "example-kokoro-adam" | |
| ] | |
| }, | |
| { | |
| "id": "pt", | |
| "name": "Portuguese", | |
| "directory": "profiles/pt", | |
| "voices": [ | |
| "rafael", | |
| "example-reader-a", | |
| "example-reader-b", | |
| "example-kokoro-heart", | |
| "example-kokoro-adam" | |
| ] | |
| }, | |
| { | |
| "id": "it", | |
| "name": "Italian", | |
| "directory": "profiles/it", | |
| "voices": [ | |
| "giovanni", | |
| "example-reader-a", | |
| "example-reader-b", | |
| "example-kokoro-heart", | |
| "example-kokoro-adam" | |
| ] | |
| }, | |
| { | |
| "id": "es", | |
| "name": "Spanish", | |
| "directory": "profiles/es", | |
| "voices": [ | |
| "lola", | |
| "example-reader-a", | |
| "example-reader-b", | |
| "example-kokoro-heart", | |
| "example-kokoro-adam" | |
| ] | |
| }, | |
| { | |
| "id": "nl", | |
| "name": "Dutch", | |
| "directory": "profiles/nl", | |
| "voices": [ | |
| "daan", | |
| "example-reader-a", | |
| "example-reader-b", | |
| "example-kokoro-heart", | |
| "example-kokoro-adam" | |
| ] | |
| } | |
| ] | |
| } | |