

from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


snake_case__				= datasets.utils.logging.get_logger(__name__)



class  UpperCamelCase				( folder_based_builder.FolderBasedBuilderConfig ):

     '''simple docstring'''

     A_										=  None
     A_										=  None





class  UpperCamelCase				( folder_based_builder.FolderBasedBuilder ):

     '''simple docstring'''

     A_										=  datasets.Audio()
     A_										=  'audio'
     A_										=  AudioFolderConfig
     A_										=  42  # definition at the bottom of the script
     A_										=  AudioClassification(audio_column='audio'   ,  label_column='label' )





snake_case__				= [
    '.aiff',
    '.au',
    '.avr',
    '.caf',
    '.flac',
    '.htk',
    '.svx',
    '.mat4',
    '.mat5',
    '.mpc2k',
    '.ogg',
    '.paf',
    '.pvf',
    '.raw',
    '.rf64',
    '.sd2',
    '.sds',
    '.ircam',
    '.voc',
    '.w64',
    '.wav',
    '.nist',
    '.wavex',
    '.wve',
    '.xi',
    '.mp3',
    '.opus',
]
snake_case__				= AUDIO_EXTENSIONS
from typing import TYPE_CHECKING

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


snake_case__				= {
    'configuration_trajectory_transformer': [
        'TRAJECTORY_TRANSFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP',
        'TrajectoryTransformerConfig',
    ],
}

try:
     if not is_torch_available():
          raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
     pass
else:
     snake_case__				= [
         'TRAJECTORY_TRANSFORMER_PRETRAINED_MODEL_ARCHIVE_LIST',
         'TrajectoryTransformerModel',
         'TrajectoryTransformerPreTrainedModel',
         'load_tf_weights_in_trajectory_transformer',
     ]


if TYPE_CHECKING:
     from .configuration_trajectory_transformer import (
         TRAJECTORY_TRANSFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP,
         TrajectoryTransformerConfig,
     )

     try:
          if not is_torch_available():
               raise OptionalDependencyNotAvailable()
     except OptionalDependencyNotAvailable:
          pass
     else:
          from .modeling_trajectory_transformer import (
              TRAJECTORY_TRANSFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
              TrajectoryTransformerModel,
              TrajectoryTransformerPreTrainedModel,
              load_tf_weights_in_trajectory_transformer,
          )


else:
     import sys

     snake_case__				= _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)