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_prefix="output")

🤗 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.2.tar.gz (53.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for voicehub-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bd357d00fc9ac7788cc85f23d0606b3b85954b158899c458d65f61b07181f8dd
MD5 e3ac1048638255939c2e51626760a625
BLAKE2b-256 fef5e11db82dd4c1f87c82676f4fcec3a0dc7e7cf4f1207fb7dec0a1eeb38039

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