Datasets:
michaelnetbiz
commited on
Commit
•
6ea33a4
1
Parent(s):
46abca6
Update dataset name
Browse files
scripts/prep_push_to_hf.py
CHANGED
@@ -2,11 +2,10 @@
|
|
2 |
from os.path import basename, join
|
3 |
from pathlib import Path
|
4 |
|
5 |
-
import datasets
|
6 |
import librosa
|
7 |
import numpy as np
|
8 |
import pandas as pd
|
9 |
-
from datasets import Audio, Dataset,
|
10 |
|
11 |
MAX_DURATION_IN_SECONDS = 10.0
|
12 |
MIN_DURATION_IN_SECONDS = 1.0
|
@@ -52,4 +51,4 @@ train_dataset = create_dataset(train)
|
|
52 |
test_dataset = create_dataset(test)
|
53 |
|
54 |
full_dataset = DatasetDict({"train": train_dataset, "test": test_dataset})
|
55 |
-
full_dataset.push_to_hub("michaelnetbiz/
|
|
|
2 |
from os.path import basename, join
|
3 |
from pathlib import Path
|
4 |
|
|
|
5 |
import librosa
|
6 |
import numpy as np
|
7 |
import pandas as pd
|
8 |
+
from datasets import Audio, Dataset, DatasetDict
|
9 |
|
10 |
MAX_DURATION_IN_SECONDS = 10.0
|
11 |
MIN_DURATION_IN_SECONDS = 1.0
|
|
|
51 |
test_dataset = create_dataset(test)
|
52 |
|
53 |
full_dataset = DatasetDict({"train": train_dataset, "test": test_dataset})
|
54 |
+
full_dataset.push_to_hub("michaelnetbiz/Kendex")
|