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