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.4.tar.gz
(53.7 kB
view details)
File details
Details for the file voicehub-0.1.4.tar.gz.
File metadata
- Download URL: voicehub-0.1.4.tar.gz
- Upload date:
- Size: 53.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b5e82e14ae197a487dd031657a2f94d7c7df7b651ab3e0179b39ac99531f0fe
|
|
| MD5 |
8b49503bc8b56b58681adc5a730a5cf3
|
|
| BLAKE2b-256 |
6ba6720694826c52c683fc7075a655546d0baa55f00e0d43a973728735bf2afd
|