diff --git a/audio.mp4 b/audio.mp4 index e355b73..9caf553 100644 Binary files a/audio.mp4 and b/audio.mp4 differ diff --git a/main.py b/main.py index 5933765..8bb5689 100644 --- a/main.py +++ b/main.py @@ -36,6 +36,7 @@ def download(video_url, output_filename='audio.mp4'): def compress_audio(input_filename, target_size_mb=25): try: print("Compressing audio...") + audio = AudioSegment.from_file(input_filename) # Split the input filename into directory and file components