BALAKA commited on
Commit
6608f5e
·
1 Parent(s): 8060129

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -115,7 +115,7 @@ def youtube_loader(link):
115
  yt = YouTube(str(link))
116
  video = yt.streams.filter(only_audio=True).first()
117
  out_file = video.download(output_path='mp3')
118
- os.rename(out_file, 'youtube.mp3')
119
  return out_file
120
  return process('/home/user/app/mp3/youtube.mp3')
121
 
 
115
  yt = YouTube(str(link))
116
  video = yt.streams.filter(only_audio=True).first()
117
  out_file = video.download(output_path='mp3')
118
+ os.rename(out_file, '/home/user/app/mp3/youtube.mp3')
119
  return out_file
120
  return process('/home/user/app/mp3/youtube.mp3')
121