Update ESLO_cleaned.py
Browse files- ESLO_cleaned.py +1 -1
ESLO_cleaned.py
CHANGED
@@ -148,7 +148,7 @@ class ESLO(datasets.GeneratorBasedBuilder):
|
|
148 |
with open(dataset, encoding="utf-8") as f:
|
149 |
reader = csv.DictReader(f)
|
150 |
for row in reader:
|
151 |
-
audio_file = f"{row['audio_file'][
|
152 |
audio = self.load_audio(audio_files[audio_file])
|
153 |
start = float(row["start"])
|
154 |
loss = float(row["loss"])
|
|
|
148 |
with open(dataset, encoding="utf-8") as f:
|
149 |
reader = csv.DictReader(f)
|
150 |
for row in reader:
|
151 |
+
audio_file = f"{row['audio_file'][:-2]}.mp4"
|
152 |
audio = self.load_audio(audio_files[audio_file])
|
153 |
start = float(row["start"])
|
154 |
loss = float(row["loss"])
|