Transformers How to use realtime-speech/s2tlarge with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-to-speech", model="realtime-speech/s2tlarge") # Load model directly
from transformers import AutoProcessor, AutoModel
processor = AutoProcessor.from_pretrained("realtime-speech/s2tlarge")
model = AutoModel.from_pretrained("realtime-speech/s2tlarge")