Commit
·
fa0452d
1
Parent(s):
02a16a5
Update asr-sample.py
Browse files- asr-sample.py +2 -1
asr-sample.py
CHANGED
|
@@ -96,8 +96,9 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
|
|
| 96 |
def _split_generators(self, dl_manager):
|
| 97 |
archive_path = dl_manager.download(_DL_URLS[self.config.name])
|
| 98 |
# (Optional) In non-streaming mode, we can extract the archive locally to have actual local audio files:
|
|
|
|
| 99 |
local_extracted_archive = dl_manager.extract(archive_path)
|
| 100 |
-
|
| 101 |
if self.config.name == "clean":
|
| 102 |
dev_splits = [
|
| 103 |
datasets.SplitGenerator(
|
|
|
|
| 96 |
def _split_generators(self, dl_manager):
|
| 97 |
archive_path = dl_manager.download(_DL_URLS[self.config.name])
|
| 98 |
# (Optional) In non-streaming mode, we can extract the archive locally to have actual local audio files:
|
| 99 |
+
print(type(archive_path))
|
| 100 |
local_extracted_archive = dl_manager.extract(archive_path)
|
| 101 |
+
print(type(local_extracted_archive))
|
| 102 |
if self.config.name == "clean":
|
| 103 |
dev_splits = [
|
| 104 |
datasets.SplitGenerator(
|