BilalSardar commited on
Commit
6f34e15
1 Parent(s): 7e0ba5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -89,8 +89,8 @@ except:
89
 
90
  def UrlToAudio(VideoUrl):
91
  url=VideoUrl
92
- #os.system("yt-dlp -x --audio-format wav " + url)
93
- download_youtube(VideoUrl,"mp3","")
94
  # load audio and pad/trim it to fit 30 seconds
95
  base_path = Path(r"")
96
  for wav_file_path in base_path.glob("*.wav"):
 
89
 
90
  def UrlToAudio(VideoUrl):
91
  url=VideoUrl
92
+ os.system("yt-dlp -x --audio-format wav " + url)
93
+ #download_youtube(VideoUrl,"mp3","")
94
  # load audio and pad/trim it to fit 30 seconds
95
  base_path = Path(r"")
96
  for wav_file_path in base_path.glob("*.wav"):