Download upload_data.py from dvk65/TrashTypes: direct link, hf CLI and curl.
- Browser
- Download file 133 Bytes
-
https://huggingface.co/datasets/dvk65/TrashTypes/resolve/main/upload_data.py
- Command line
-
hf download hf://datasets/dvk65/TrashTypes/upload_data.py
-
curl -L -o upload_data.py https://huggingface.co/datasets/dvk65/TrashTypes/resolve/main/upload_data.py
133 Bytes
| from datasets import load_dataset | |
| dataset = load_dataset("imagefolder", data_dir="Dataset") | |
| dataset.push_to_hub("dvk65/TrashTypes") | |