Update ESLO.py
Browse files
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}}
|