noflm
commited on
Commit
•
a7464f1
1
Parent(s):
44af30c
fix dataset config line:158
Browse files- EliteVoiceProject.py +3 -1
EliteVoiceProject.py
CHANGED
@@ -73,6 +73,8 @@ class EliteVoiceProject(datasets.GeneratorBasedBuilder):
|
|
73 |
)
|
74 |
for platform in _PLATFORMS
|
75 |
]
|
|
|
|
|
76 |
|
77 |
def _info(self):
|
78 |
description = (
|
@@ -153,7 +155,7 @@ class EliteVoiceProject(datasets.GeneratorBasedBuilder):
|
|
153 |
|
154 |
for i, audio_archive in enumerate(archives):
|
155 |
for filename, file in audio_archive:
|
156 |
-
_, filename = os.path.split(filename)
|
157 |
if filename in metadata:
|
158 |
result = dict(metadata[filename])
|
159 |
# set the audio feature and the path to the extracted file
|
|
|
73 |
)
|
74 |
for platform in _PLATFORMS
|
75 |
]
|
76 |
+
|
77 |
+
DEFAULT_CONFIG_NAME = "twitter"
|
78 |
|
79 |
def _info(self):
|
80 |
description = (
|
|
|
155 |
|
156 |
for i, audio_archive in enumerate(archives):
|
157 |
for filename, file in audio_archive:
|
158 |
+
#_, filename = os.path.split(filename)
|
159 |
if filename in metadata:
|
160 |
result = dict(metadata[filename])
|
161 |
# set the audio feature and the path to the extracted file
|