



'''simple docstring'''

from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


SCREAMING_SNAKE_CASE__     :						int	=  datasets.utils.logging.get_logger(__name__)

class 							a__( folder_based_builder.FolderBasedBuilderConfig     ):
			a_	: bool									=      None
			a_	: bool									=      None





class 							a__( folder_based_builder.FolderBasedBuilder     ):
			a_	: str									=      datasets.Audio()
			a_	: Optional[Any]									=      '''audio'''
			a_	: List[Any]									=      AudioFolderConfig
			a_	: List[str]  # definition at the bottom of the script
			a_	: Any									=      AudioClassification(audio_column='''audio'''   ,      label_column='''label'''     )





SCREAMING_SNAKE_CASE__     :						Dict	=  [
    '''.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''',
]
SCREAMING_SNAKE_CASE__     :						str	=  AUDIO_EXTENSIONS









'''simple docstring'''

from typing import TYPE_CHECKING

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


SCREAMING_SNAKE_CASE__     :						Tuple	=  {'''configuration_van''': ['''VAN_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''VanConfig''']}


try:
			if not is_torch_available():
						raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
			pass
else:
			SCREAMING_SNAKE_CASE__     :						List[str]	=  [
			    '''VAN_PRETRAINED_MODEL_ARCHIVE_LIST''',
			    '''VanForImageClassification''',
			    '''VanModel''',
			    '''VanPreTrainedModel''',
			]

if TYPE_CHECKING:
			from .configuration_van import VAN_PRETRAINED_CONFIG_ARCHIVE_MAP, VanConfig

			try:
						if not is_torch_available():
									raise OptionalDependencyNotAvailable()
			except OptionalDependencyNotAvailable:
						pass
			else:
						from .modeling_van import (
						    VAN_PRETRAINED_MODEL_ARCHIVE_LIST,
						    VanForImageClassification,
						    VanModel,
						    VanPreTrainedModel,
						)

else:
			import sys

			SCREAMING_SNAKE_CASE__     :						Dict	=  _LazyModule(__name__, globals()['''__file__'''], _import_structure)




