Instructions to use nineninesix/kani-tts-2-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nineninesix/kani-tts-2-en with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="nineninesix/kani-tts-2-en")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("nineninesix/kani-tts-2-en") model = AutoModelForCausalLM.from_pretrained("nineninesix/kani-tts-2-en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K