ai-content-maker/.venv/Lib/site-packages/transformers/utils/dummy_speech_objects.py

17 lines
465 B
Python
Raw Normal View History

2024-05-03 04:18:51 +03:00
# 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"])