Instructions to use realtime-speech/s2tmedium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use realtime-speech/s2tmedium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="realtime-speech/s2tmedium")# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("realtime-speech/s2tmedium") model = AutoModel.from_pretrained("realtime-speech/s2tmedium") - Notebooks
- Google Colab
- Kaggle