BrunoHays commited on
Commit
5d832fb
·
1 Parent(s): bde0c30

Update ESLO.py

Browse files
Files changed (1) hide show
  1. ESLO.py +2 -1
ESLO.py CHANGED
@@ -356,6 +356,7 @@ class ESLO(datasets.GeneratorBasedBuilder):
356
  -------
357
  A NumPy array containing the audio waveform, in float32 dtype.
358
  """
 
359
  try:
360
  # This launches a subprocess to decode audio while down-mixing and resampling as necessary.
361
  # Requires the ffmpeg CLI and `ffmpeg-python` package to be installed.
@@ -381,7 +382,7 @@ class ESLO(datasets.GeneratorBasedBuilder):
381
  def _merged_utterances_iterator(self, utterance_iterator):
382
  if self.config.single_samples:
383
  yield from utterance_iterator
384
- merged_utterance = next(utterance_iterator)
385
  start_time = merged_utterance.start_timestamp
386
  while True:
387
  try:
 
356
  -------
357
  A NumPy array containing the audio waveform, in float32 dtype.
358
  """
359
+ print(file)
360
  try:
361
  # This launches a subprocess to decode audio while down-mixing and resampling as necessary.
362
  # Requires the ffmpeg CLI and `ffmpeg-python` package to be installed.
 
382
  def _merged_utterances_iterator(self, utterance_iterator):
383
  if self.config.single_samples:
384
  yield from utterance_iterator
385
+ merged_utterance = next(iter(utterance_iterator))
386
  start_time = merged_utterance.start_timestamp
387
  while True:
388
  try: