Update ESLO_cleaned.py
Browse files- ESLO_cleaned.py +1 -1
ESLO_cleaned.py
CHANGED
@@ -156,7 +156,7 @@ class ESLO(datasets.GeneratorBasedBuilder):
|
|
156 |
contains_speech = row["contains_speech"] == "True"
|
157 |
yield f"{audio_file}_{start}-{end}", {
|
158 |
"file": audio_file,
|
159 |
-
"sentence": clean_text(row["sentence"]),
|
160 |
"start_timestamp": start,
|
161 |
"end_timestamp": end,
|
162 |
"loss": loss,
|
|
|
156 |
contains_speech = row["contains_speech"] == "True"
|
157 |
yield f"{audio_file}_{start}-{end}", {
|
158 |
"file": audio_file,
|
159 |
+
"sentence": self.clean_text(row["sentence"]),
|
160 |
"start_timestamp": start,
|
161 |
"end_timestamp": end,
|
162 |
"loss": loss,
|