Commit
•
614fb9a
1
Parent(s):
4924311
cleaning for print statements
Browse files- babelbox_voice.py +1 -5
babelbox_voice.py
CHANGED
@@ -87,10 +87,7 @@ class BabelboxVoice(datasets.GeneratorBasedBuilder):
|
|
87 |
)
|
88 |
|
89 |
def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
|
90 |
-
|
91 |
-
#archive_dir="/home/jovyan/shared-data/data/nst/archive"
|
92 |
-
#archive_files = sorted(glob.glob(archive_dir + '/**.tar.gz'), reverse=False)
|
93 |
-
|
94 |
archive_paths = dl_manager.download(_DL_URLS)
|
95 |
|
96 |
local_extracted_archive_paths = dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}
|
@@ -122,7 +119,6 @@ class BabelboxVoice(datasets.GeneratorBasedBuilder):
|
|
122 |
|
123 |
for i, audio_archive in enumerate(archives):
|
124 |
for path, file in audio_archive:
|
125 |
-
print(path)
|
126 |
if local_extracted_archive_paths == False:
|
127 |
path = os.path.join(local_extracted_archive_paths[i], path)
|
128 |
result = dict()
|
|
|
87 |
)
|
88 |
|
89 |
def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
|
90 |
+
|
|
|
|
|
|
|
91 |
archive_paths = dl_manager.download(_DL_URLS)
|
92 |
|
93 |
local_extracted_archive_paths = dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}
|
|
|
119 |
|
120 |
for i, audio_archive in enumerate(archives):
|
121 |
for path, file in audio_archive:
|
|
|
122 |
if local_extracted_archive_paths == False:
|
123 |
path = os.path.join(local_extracted_archive_paths[i], path)
|
124 |
result = dict()
|