tensorkelechi commited on
Commit
e59a6ba
·
verified ·
1 Parent(s): ae52222

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def youtube_video_downloader(url):
36
 
37
  def audio_extraction(video_file, output_format):
38
  audio = extract_audio(
39
- input_path=video_file, output_path=f"{str(video_file)[:-3]}mp3", output_format=output_format
40
  )
41
  return audio
42
 
 
36
 
37
  def audio_extraction(video_file, output_format):
38
  audio = extract_audio(
39
+ input_path=video_file, output_path=f"{video_file.name}.mp3", output_format=output_format
40
  )
41
  return audio
42