iOS_Android_SDK
Collection
Bunch of models for deployment on iOS and macOS devices โข 40 items โข Updated
How to use TheStageAI/pocket-tts-100m-fr with Pocket-TTS:
from pocket_tts import TTSModel
import scipy.io.wavfile
tts_model = TTSModel.load_model("TheStageAI/pocket-tts-100m-fr")
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())Core ML / ANE engines of the French 100M-parameter model of
kyutai/pocket-tts (languages/french, CC-BY-4.0, Kyutai)
for the TheStage Apple SDK (model_type: pocket-tts, bundle language fr).