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