h/to/file2"], "test": ["path/to/file3", "path/to/file4"]}
)
ImageFolder will create an image column containing the PIL-encoded images.
Next, push it to the hub!


	Copied
# assuming you have ran the huggingface-cli login command in a terminal
dataset.push_to_hub("name_of_your_dataset")

# if you want to push to a private repo, simply pass private=True:
dataset.push_to_hub("name_of_your_dataset", private=True)
and that’s it! You can now train yo