Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

thatguy2049
/
rocky-voice

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

Instructions to use thatguy2049/rocky-voice with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Pocket-TTS

    How to use thatguy2049/rocky-voice with Pocket-TTS:

    from pocket_tts import TTSModel
    import scipy.io.wavfile
    
    tts_model = TTSModel.load_model("thatguy2049/rocky-voice")
    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
rocky-voice
28.7 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
thatguy2049's picture
thatguy2049
Rocky voice: Pocket TTS 7M in ONNX, voice from Rahman's recordings
52b9261 verified 1 day ago
  • voices
    Rocky voice: Pocket TTS 7M in ONNX, voice from Rahman's recordings 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 1 day ago
  • README.md
    1.9 kB
    Rocky voice: Pocket TTS 7M in ONNX, voice from Rahman's recordings 1 day ago
  • bundle.json
    11 kB
    Rocky voice: Pocket TTS 7M in ONNX, voice from Rahman's recordings 1 day ago
  • decoder.onnx
    11.2 MB
    xet
    Rocky voice: Pocket TTS 7M in ONNX, voice from Rahman's recordings 1 day ago
  • lm.onnx
    17.3 MB
    xet
    Rocky voice: Pocket TTS 7M in ONNX, voice from Rahman's recordings 1 day ago
  • tokenizer.json
    86.8 kB
    Rocky voice: Pocket TTS 7M in ONNX, voice from Rahman's recordings 1 day ago