Commit
·
58b6cbc
1
Parent(s):
dc0a685
pseudo
Browse files
push.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datasets import Dataset, DatasetDict, DatasetInfo
|
| 2 |
+
from huggingface_hub import HfApi, create_repo
|
| 3 |
+
|
| 4 |
+
# If the repo doesn't exist yet, create it
|
| 5 |
+
dataset_repo_name = "AniSundar18/Robust_LDM_Benchmark"
|
| 6 |
+
#create_repo(dataset_repo_name)
|
| 7 |
+
|
| 8 |
+
# Push the dataset
|
| 9 |
+
dataset.push_to_hub(dataset_repo_name)
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
|