Instructions to use Indus-Labs/indus-pocket-tts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Pocket-TTS
How to use Indus-Labs/indus-pocket-tts with Pocket-TTS:
from pocket_tts import TTSModel import scipy.io.wavfile tts_model = TTSModel.load_model("Indus-Labs/indus-pocket-tts") 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 samples/08_transfer.mp3 from Indus-Labs/indus-pocket-tts: direct link, hf CLI and curl.
- Browser
- Download file 64.6 kB
-
https://huggingface.co/Indus-Labs/indus-pocket-tts/resolve/main/samples/08_transfer.mp3
- Command line
-
hf download hf://Indus-Labs/indus-pocket-tts/samples/08_transfer.mp3
-
curl -L -o 08_transfer.mp3 https://huggingface.co/Indus-Labs/indus-pocket-tts/resolve/main/samples/08_transfer.mp3
64.6 kB