VoiceHub: A Unified Inference Interface for TTS Models
Project description
VoiceHub: A Unified Inference Interface for TTS Models
🛠️ 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.3.tar.gz
(53.9 kB
view details)
File details
Details for the file voicehub-0.1.3.tar.gz.
File metadata
- Download URL: voicehub-0.1.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a393ec3842326a74aacff71b976a266129436a097b2791b2d4c3bbf07c494fbe
|
|
| MD5 |
f290468d2bb3eb2ff616991c1805f929
|
|
| BLAKE2b-256 |
e9ef2d20d86d3cf48dc2ee814718643085f2c6a09091722c4061ab896b0c3585
|