How to use Lingua-Connect/speecht5_sw_normal with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="Lingua-Connect/speecht5_sw_normal")
# Load model directly from transformers import AutoProcessor, AutoModelForTextToSpectrogram processor = AutoProcessor.from_pretrained("Lingua-Connect/speecht5_sw_normal") model = AutoModelForTextToSpectrogram.from_pretrained("Lingua-Connect/speecht5_sw_normal")
The community tab is the place to discuss and collaborate with the HF community!