Make TTS automodels importable (#25595)

* Add auto model for spectrogram/waveform

* Add doc and install

* Add dummy objects

* Did I miss anything?
This commit is contained in:
Omar Sanseviero
2023-08-18 22:01:35 +02:00
committed by GitHub
parent faed2ca46f
commit 6f4424bb08
5 changed files with 31 additions and 0 deletions

View File

@@ -115,6 +115,7 @@ PIPELINE_TAGS_AND_AUTO_MODELS = [
("depth-estimation", "MODEL_FOR_DEPTH_ESTIMATION_MAPPING_NAMES", "AutoModelForDepthEstimation"),
("video-classification", "MODEL_FOR_VIDEO_CLASSIFICATION_MAPPING_NAMES", "AutoModelForVideoClassification"),
("mask-generation", "MODEL_FOR_MASK_GENERATION_MAPPING_NAMES", "AutoModelForMaskGeneration"),
("text-to-audio", "MODEL_FOR_TEXT_TO_SPECTROGRAM_NAMES", "AutoModelForTextToSpectrogram"),
("text-to-audio", "MODEL_FOR_TEXT_TO_WAVEFORM_NAMES", "AutoModelForTextToWaveform"),
]