Instructions to use hf-internal-testing/tiny-random-SpeechT5ForTextToSpeech with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-SpeechT5ForTextToSpeech with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="hf-internal-testing/tiny-random-SpeechT5ForTextToSpeech")# Load model directly from transformers import AutoProcessor, AutoModelForTextToSpectrogram processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-SpeechT5ForTextToSpeech") model = AutoModelForTextToSpectrogram.from_pretrained("hf-internal-testing/tiny-random-SpeechT5ForTextToSpeech", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
922e748 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:e75c82e6cc415b9e02889821204a8f20df60da1ca9870b869f82271a67526e59
size 5336605
|