Skip to main content

VoiceHub: A Unified Inference Interface for TTS Models

Project description

VoiceHub: A Unified Inference Interface for TTS Models

teaser

🛠️ Installation

uv venv --python 3.12
source .venv/bin/activate
uv pip install voicehub

📚 Usage

from voicehub.automodel import AutoInferenceModel

# Create model using the static from_pretrained method
model = AutoInferenceModel.from_pretrained(
    model_type="orpheustts",  # or "dia" or "vui"
    model_path="canopylabs/orpheus-3b-0.1-ft",
    device="cuda",
)

# Generate speech with the model
output = model(
    "Hello, how are you today?", voice="tara", output_file="output"
)  # voice param is only for orpheustts

🤗 Contributing

uv pip install pre-commit
pre-commit install
pre-commit run --all-files

📝 Acknowledgments

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voicehub-0.1.5.tar.gz (53.6 kB view details)

Uploaded Source

File details

Details for the file voicehub-0.1.5.tar.gz.

File metadata

  • Download URL: voicehub-0.1.5.tar.gz
  • Upload date:
  • Size: 53.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for voicehub-0.1.5.tar.gz
Algorithm Hash digest
SHA256 b64c5af12f5b9b8f553e9264a70699d6cd88105c8a3f9472f7fdcec5006b16b8
MD5 a037b816aedb4f032ea30825138683bb
BLAKE2b-256 57a738809d10c4c706909d2769683007904d1df68dedf1901d64b37f82cb5c13

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page