From 7c8cbe06f98d31faa758e7b48dce15e04deccb96 Mon Sep 17 00:00:00 2001 From: Christian Rute Date: Mon, 6 Jan 2025 18:22:54 +0100 Subject: [PATCH] rm comments --- stt_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stt_test.py b/stt_test.py index 773880d..730ce67 100644 --- a/stt_test.py +++ b/stt_test.py @@ -74,7 +74,7 @@ def save_audio_to_wav(audio, filename): def get_audio_duration(filename): """Returns the duration of the audio file in seconds.""" audio = AudioSegment.from_wav(filename) - return len(audio) / 1000 # Convert milliseconds to seconds + return len(audio) / 1000 def split_audio(filename, chunk_length_ms=30000): """Splits an audio file into chunks."""