Datasets:

Languages:
French
License:
BrunoHays commited on
Commit
beddab0
1 Parent(s): c3e0c0f

Update ESLO.py

Browse files
Files changed (1) hide show
  1. ESLO.py +1 -1
ESLO.py CHANGED
@@ -160,7 +160,7 @@ class ESLO(datasets.GeneratorBasedBuilder):
160
  "start_timestamp": start,
161
  "end_timestamp": end,
162
  "loss": loss,
163
- "contains_speech": contains_speech,
164
  "audio": {"path": audio_file,
165
  "array": self._cut_audio(audio, start, end),
166
  "sampling_rate": 16000}}
 
160
  "start_timestamp": start,
161
  "end_timestamp": end,
162
  "loss": loss,
163
+ "contains_speech": contains_speech == True,
164
  "audio": {"path": audio_file,
165
  "array": self._cut_audio(audio, start, end),
166
  "sampling_rate": 16000}}