Fix test_load_default_pipelines_pt for ClapModel (#21886)

* fix tests

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2023-03-01 21:52:26 +01:00
committed by GitHub
parent 36ee128375
commit 89359e4c63

View File

@@ -302,7 +302,7 @@ SUPPORTED_TASKS = {
},
"zero-shot-audio-classification": {
"impl": ZeroShotAudioClassificationPipeline,
"tf": (TFAutoModel,) if is_tf_available() else (),
"tf": (),
"pt": (AutoModel,) if is_torch_available() else (),
"default": {
"model": {