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

justdataplz
/
pocket-tts-web

Text-to-Speech
Pocket-TTS
ONNX
onnxruntime-web
webassembly
Model card Files Files and versions
xet
Community

Instructions to use justdataplz/pocket-tts-web with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Pocket-TTS

    How to use justdataplz/pocket-tts-web with Pocket-TTS:

    from pocket_tts import TTSModel
    import scipy.io.wavfile
    
    tts_model = TTSModel.load_model("justdataplz/pocket-tts-web")
    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
pocket-tts-web
625 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
justdataplz's picture
justdataplz
Pocket TTS for the browser: greek, english, french, german, spanish
6b4b636 verified 13 days ago
  • english
    Pocket TTS for the browser: greek, english, french, german, spanish 13 days ago
  • french
    Pocket TTS for the browser: greek, english, french, german, spanish 13 days ago
  • german
    Pocket TTS for the browser: greek, english, french, german, spanish 13 days ago
  • greek
    Pocket TTS for the browser: greek, english, french, german, spanish 13 days ago
  • spanish
    Pocket TTS for the browser: greek, english, french, german, spanish 13 days ago
  • .gitattributes
    1.52 kB
    initial commit 13 days ago
  • README.md
    2.4 kB
    Pocket TTS for the browser: greek, english, french, german, spanish 13 days ago