Upload down_on_hub.py with huggingface_hub
Browse files1234567891011121314# See https://huggingface.co/docs/datasets/audio_datasetfrom datasets import load_dataset
# Upload the down_on dataset to huggingfacehub
# This magically does the right thing to create the dataset, including# setting the label names and IDs.ds = load_dataset("audiofolder", data_dir="down_on/data")
from huggingface_hub import loginlogin()ds.push_to_hub("MatsRooth/down_on",private=False,embed_external_files=True)
down_on_hub.pyAdded+14