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 -e .
📚 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.1.tar.gz
(53.8 kB
view details)
File details
Details for the file voicehub-0.1.1.tar.gz.
File metadata
- Download URL: voicehub-0.1.1.tar.gz
- Upload date:
- Size: 53.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb9bb4200627678dd238080632eb918e4569e4c4bcd5ff7650081c29a5ca3d89
|
|
| MD5 |
56d573e78e72bba5ea52678de5473248
|
|
| BLAKE2b-256 |
91daf062091aead810d08ff805bf8636ce692c51a3d72e04cd32417eb6d8d80e
|