From 2a6d144a488c3ac918f19664e678be14be5fa3fd Mon Sep 17 00:00:00 2001 From: nune-tadevosyan <152167970+nune-tadevosyan@users.noreply.github.com> Date: Thu, 28 Nov 2024 13:27:01 +0400 Subject: [PATCH] Removing unnecessary lines (#11408) Signed-off-by: Nune --- nemo/collections/asr/data/audio_to_text_dataset.py | 1 - 1 file changed, 1 deletion(-) diff --git a/nemo/collections/asr/data/audio_to_text_dataset.py b/nemo/collections/asr/data/audio_to_text_dataset.py index f91710de3cb3..3e1301dd4d53 100644 --- a/nemo/collections/asr/data/audio_to_text_dataset.py +++ b/nemo/collections/asr/data/audio_to_text_dataset.py @@ -871,7 +871,6 @@ def write_on_batch_end( item["audio_filepath"] = sample.recording.sources[0].source else: item["audio_filepath"] = sample.id - item["audio_filepath"] = sample.recording.sources[0].source item["offset"] = sample.start item["duration"] = sample.duration item["text"] = sample.supervisions[0].text or ''