Metadata-Version: 2.4
Name: voicehub
Version: 0.1.2
Summary: VoiceHub: A Unified Inference Interface for TTS Models
Home-page: https://github.com/kadirnar/voicehub
Author: kadirnardev
Author-email: kadir.nar@hotmail.com
License: Apache-2.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: transformers
Requires-Dist: snac
Requires-Dist: librosa
Requires-Dist: soundfile
Requires-Dist: torchaudio
Requires-Dist: pydantic
Requires-Dist: descript-audio-codec
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

<div align="center">
<h2>
    VoiceHub: A Unified Inference Interface for TTS Models
</h2>
<img width="450" alt="teaser" src="assets/logo.png">
</div>

## 🛠️ Installation

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

## 📚 Usage

```python
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

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

## 📝 Acknowledgments

- [Orpheus-TTS](https://github.com/canopyai/Orpheus-TTS)
- [Dia](https://github.com/nari-labs/dia)
- [VUI](https://github.com/fluxions-ai/vui)
