How to use thoth-AI/testing-TTS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="thoth-AI/testing-TTS")
# Load model directly from transformers import AutoProcessor, AutoModelForTextToSpectrogram processor = AutoProcessor.from_pretrained("thoth-AI/testing-TTS") model = AutoModelForTextToSpectrogram.from_pretrained("thoth-AI/testing-TTS")
What is a pickle import?
How to fix it?