BrunoHays commited on
Commit
0703a6f
·
1 Parent(s): dbbc4e8

Update ESLO.py

Browse files
Files changed (1) hide show
  1. ESLO.py +1 -3
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
- print(path)
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