dipti commited on
Commit ·
3ad0869
1
Parent(s): bad8ee5
code used to upload image files to hugging face
Browse files- upload_data.py +4 -0
upload_data.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datasets import load_dataset
|
| 2 |
+
|
| 3 |
+
dataset = load_dataset("imagefolder", data_dir="Dataset")
|
| 4 |
+
dataset.push_to_hub("dvk65/TrashTypes")
|