Spaces:
Paused
Paused
Update create_dataset.py
Browse files- create_dataset.py +4 -4
create_dataset.py
CHANGED
@@ -90,14 +90,14 @@ def extract_vocal_demucs(model, filename, out_filename, sr=44100, device=None, s
|
|
90 |
|
91 |
|
92 |
def main(
|
93 |
-
clips_csv_filepath = "
|
94 |
-
character = "
|
95 |
do_extract_vocals = False,
|
96 |
whisper_size = "medium",
|
97 |
# Where raw yt clips will be downloaded to
|
98 |
-
dl_dir = "
|
99 |
# Where actual data will be organized
|
100 |
-
data_dir = "
|
101 |
):
|
102 |
dl_path = Path(dl_dir) / character
|
103 |
dl_path.mkdir(exist_ok=True, parents=True)
|
|
|
90 |
|
91 |
|
92 |
def main(
|
93 |
+
clips_csv_filepath = "data.csv",
|
94 |
+
character = "somebody",
|
95 |
do_extract_vocals = False,
|
96 |
whisper_size = "medium",
|
97 |
# Where raw yt clips will be downloaded to
|
98 |
+
dl_dir = "downloads",
|
99 |
# Where actual data will be organized
|
100 |
+
data_dir = "dataset_raw",
|
101 |
):
|
102 |
dl_path = Path(dl_dir) / character
|
103 |
dl_path.mkdir(exist_ok=True, parents=True)
|