


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    ):
			lowercase						= None
			lowercase						= None




class    UpperCAmelCase					(       folder_based_builder.FolderBasedBuilder    ):
			lowercase						= datasets.Audio()
			lowercase						= """audio"""
			lowercase						= AudioFolderConfig
			lowercase						= 42  # definition at the bottom of the script
			lowercase						= 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 ..utils import DummyObject, requires_backends




class    UpperCAmelCase					(       metaclass=__snake_case    ):
			lowercase						= ["""keras_nlp"""]




			def __init__(						self							:		List[str]       ,       *__magic_name__							:		str       ,       **__magic_name__							:		int						):







						"""simple docstring"""







						requires_backends(self       ,       ["""keras_nlp"""]						)




