Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

sandyz1000
/
react-native-executorch-pocket-tts

Text-to-Speech
Pocket-TTS
ExecuTorch
react-native-executorch
Model card Files Files and versions
xet
Community

Instructions to use sandyz1000/react-native-executorch-pocket-tts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Pocket-TTS

    How to use sandyz1000/react-native-executorch-pocket-tts with Pocket-TTS:

    from pocket_tts import TTSModel
    import scipy.io.wavfile
    
    tts_model = TTSModel.load_model("sandyz1000/react-native-executorch-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
react-native-executorch-pocket-tts
706 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 31 commits
sandyz1000's picture
sandyz1000
Upload README.md with huggingface_hub
15999ec verified 3 days ago
  • voices
    Upload voices/eve.safetensors with huggingface_hub 3 days ago
  • .gitattributes
    2.17 kB
    Upload mimi_pcm_step.pte with huggingface_hub 3 days ago
  • README.md
    3.33 kB
    Upload README.md with huggingface_hub 3 days ago
  • flow_lm_decode_step.pte
    341 MB
    xet
    Upload flow_lm_decode_step.pte with huggingface_hub 3 days ago
  • flow_lm_prompt_step.pte
    269 MB
    xet
    Upload flow_lm_prompt_step.pte with huggingface_hub 3 days ago
  • mimi_latent_step.pte
    25.4 MB
    xet
    Upload mimi_latent_step.pte with huggingface_hub 3 days ago
  • mimi_pcm_step.pte
    15.9 MB
    xet
    Upload mimi_pcm_step.pte with huggingface_hub 3 days ago
  • state_manifest.json
    3.12 kB
    Upload state_manifest.json with huggingface_hub 3 days ago
  • text_conditioner.pte
    16.4 MB
    xet
    Upload text_conditioner.pte with huggingface_hub 3 days ago
  • tokenizer.json
    244 kB
    Upload tokenizer.json with huggingface_hub 3 days ago