


"""simple docstring"""


from ..utils import DummyObject, requires_backends


class 			A__	(						metaclass=__lowercase):


     """simple docstring"""
     snake_case__	:					Optional[Any]													=['''transformers''', '''torch''', '''note_seq''']

     def __init__(	self:						Union[str, Any]     ,		*__a:						Tuple     ,		**__a:						Any	)->    Dict:
           requires_backends(self     ,		["""transformers""", """torch""", """note_seq"""]	)

     @classmethod
     def 		a__						(	cls:						Optional[Any]     ,		*__a:						Tuple     ,		**__a:						Dict	)->    Tuple:
           requires_backends(cls     ,		["""transformers""", """torch""", """note_seq"""]	)







     @classmethod
     def 		a__						(	cls:						List[Any]     ,		*__a:						Optional[int]     ,		**__a:						List[Any]	)->    Optional[int]:
           requires_backends(cls     ,		["""transformers""", """torch""", """note_seq"""]	)








"""simple docstring"""


from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_torch_available,
)


__lowerCamelCase      :Optional[Any]	    =		{
    'configuration_encodec': [
        'ENCODEC_PRETRAINED_CONFIG_ARCHIVE_MAP',
        'EncodecConfig',
    ],
    'feature_extraction_encodec': ['EncodecFeatureExtractor'],
}

try:
    if not is_torch_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    __lowerCamelCase      :Union[str, Any]	    =		[
        'ENCODEC_PRETRAINED_MODEL_ARCHIVE_LIST',
        'EncodecModel',
        'EncodecPreTrainedModel',
    ]

if TYPE_CHECKING:
    from .configuration_encodec import (
        ENCODEC_PRETRAINED_CONFIG_ARCHIVE_MAP,
        EncodecConfig,
    )
    from .feature_extraction_encodec import EncodecFeatureExtractor

    try:
        if not is_torch_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_encodec import (
            ENCODEC_PRETRAINED_MODEL_ARCHIVE_LIST,
            EncodecModel,
            EncodecPreTrainedModel,
        )

else:
    import sys

    __lowerCamelCase      :Dict	    =		_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)




