Download src/transformers/utils/dummy_speech_objects.py from Deku21/RegFM: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/Deku21/RegFM/resolve/main/src/transformers/utils/dummy_speech_objects.py
- Command line
-
hf download hf://Deku21/RegFM/src/transformers/utils/dummy_speech_objects.py
-
curl -L -o dummy_speech_objects.py https://huggingface.co/Deku21/RegFM/resolve/main/src/transformers/utils/dummy_speech_objects.py
465 Bytes
| # This file is autogenerated by the command `make fix-copies`, do not edit. | |
| from ..utils import DummyObject, requires_backends | |
| class ASTFeatureExtractor(metaclass=DummyObject): | |
| _backends = ["speech"] | |
| def __init__(self, *args, **kwargs): | |
| requires_backends(self, ["speech"]) | |
| class Speech2TextFeatureExtractor(metaclass=DummyObject): | |
| _backends = ["speech"] | |
| def __init__(self, *args, **kwargs): | |
| requires_backends(self, ["speech"]) | |