Instructions to use theothertom/emo_t5_speech_chkpt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use theothertom/emo_t5_speech_chkpt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="theothertom/emo_t5_speech_chkpt")# Load model directly from transformers import AutoProcessor, AutoModelForTextToSpectrogram processor = AutoProcessor.from_pretrained("theothertom/emo_t5_speech_chkpt") model = AutoModelForTextToSpectrogram.from_pretrained("theothertom/emo_t5_speech_chkpt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoProcessor, AutoModelForTextToSpectrogram
processor = AutoProcessor.from_pretrained("theothertom/emo_t5_speech_chkpt")
model = AutoModelForTextToSpectrogram.from_pretrained("theothertom/emo_t5_speech_chkpt", device_map="auto")Quick Links
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="theothertom/emo_t5_speech_chkpt")