Update ESLO.py
Browse files
ESLO.py
CHANGED
@@ -389,9 +389,7 @@ class ESLO(datasets.GeneratorBasedBuilder):
|
|
389 |
for path in transcripts:
|
390 |
transcript_name = os.path.splitext(os.path.basename(path))[0]
|
391 |
audio = self.load_audio(audio_files[transcript_name])
|
392 |
-
|
393 |
-
with open(path, "r") as file:
|
394 |
-
print(file)
|
395 |
for utterance in self.load_one(file):
|
396 |
if not self.config.overlap and utterance.overlap:
|
397 |
continue
|
|
|
389 |
for path in transcripts:
|
390 |
transcript_name = os.path.splitext(os.path.basename(path))[0]
|
391 |
audio = self.load_audio(audio_files[transcript_name])
|
392 |
+
with open(path, "rb") as file:
|
|
|
|
|
393 |
for utterance in self.load_one(file):
|
394 |
if not self.config.overlap and utterance.overlap:
|
395 |
continue
|