formating
This commit is contained in:
1
main.py
1
main.py
@@ -36,6 +36,7 @@ def download(video_url, output_filename='audio.mp4'):
|
|||||||
def compress_audio(input_filename, target_size_mb=25):
|
def compress_audio(input_filename, target_size_mb=25):
|
||||||
try:
|
try:
|
||||||
print("Compressing audio...")
|
print("Compressing audio...")
|
||||||
|
|
||||||
audio = AudioSegment.from_file(input_filename)
|
audio = AudioSegment.from_file(input_filename)
|
||||||
|
|
||||||
# Split the input filename into directory and file components
|
# Split the input filename into directory and file components
|
||||||
|
|||||||
Reference in New Issue
Block a user