removed the debug log
Browse files- librivox-indonesia.py +3 -3
librivox-indonesia.py
CHANGED
@@ -140,7 +140,7 @@ class LibriVoxIndonesia(datasets.GeneratorBasedBuilder):
|
|
140 |
path_to_clips,
|
141 |
):
|
142 |
"""Yields examples."""
|
143 |
-
print(metadata_path)
|
144 |
data_fields = list(self._info().features.keys())
|
145 |
metadata = {}
|
146 |
with open(metadata_path, "r", encoding="utf-8") as f:
|
@@ -154,10 +154,10 @@ class LibriVoxIndonesia(datasets.GeneratorBasedBuilder):
|
|
154 |
row[field] = ""
|
155 |
metadata[row["path"]] = row
|
156 |
id_ = 0
|
157 |
-
print("example length = %d" % len(metadata))
|
158 |
# print(metadata)
|
159 |
for path, f in audio_files:
|
160 |
-
print(path)
|
161 |
if path in metadata:
|
162 |
result = dict(metadata[path])
|
163 |
# set the audio feature and the path to the extracted file
|
|
|
140 |
path_to_clips,
|
141 |
):
|
142 |
"""Yields examples."""
|
143 |
+
# print(metadata_path)
|
144 |
data_fields = list(self._info().features.keys())
|
145 |
metadata = {}
|
146 |
with open(metadata_path, "r", encoding="utf-8") as f:
|
|
|
154 |
row[field] = ""
|
155 |
metadata[row["path"]] = row
|
156 |
id_ = 0
|
157 |
+
# print("example length = %d" % len(metadata))
|
158 |
# print(metadata)
|
159 |
for path, f in audio_files:
|
160 |
+
# print(path)
|
161 |
if path in metadata:
|
162 |
result = dict(metadata[path])
|
163 |
# set the audio feature and the path to the extracted file
|