





"""simple docstring"""


from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


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



class   __SCREAMING_SNAKE_CASE     (    folder_based_builder.FolderBasedBuilderConfig ):







  '''simple docstring'''


  SCREAMING_SNAKE_CASE__				:bool						  =       None
  SCREAMING_SNAKE_CASE__				:bool						  =       None





class   __SCREAMING_SNAKE_CASE     (    folder_based_builder.FolderBasedBuilder ):







  '''simple docstring'''


  SCREAMING_SNAKE_CASE__				:Optional[Any]						  =       datasets.Audio()
  SCREAMING_SNAKE_CASE__				:Union[str, Any]						  =       'audio'
  SCREAMING_SNAKE_CASE__				:str						  =       AudioFolderConfig
  SCREAMING_SNAKE_CASE__				:List[str]  # definition at the bottom of the script
  SCREAMING_SNAKE_CASE__				:Optional[int]						  =       AudioClassification(audio_column="audio"		,	label_column="label" )





lowerCamelCase__						= [
    """.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""",
]
lowerCamelCase__						= AUDIO_EXTENSIONS


lowerCamelCase__     :		List[str]        = """
# Installazione di Transformers
! pip install transformers datasets
# Per installare dalla fonte invece dell'ultima versione rilasciata, commenta il comando sopra e
# rimuovi la modalità commento al comando seguente.
# ! pip install git+https://github.com/huggingface/transformers.git
"""

lowerCamelCase__     :		List[Any]        = [{"""type""": """code""", """content""": INSTALL_CONTENT}]
lowerCamelCase__     :		int        = {
    """{processor_class}""": """FakeProcessorClass""",
    """{model_class}""": """FakeModelClass""",
    """{object_class}""": """FakeObjectClass""",
}






