Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,6 @@ def youtube_loader(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 |
|
122 |
|
|
|
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 process('/home/user/app/mp3/youtube.mp3')
|
120 |
|
121 |
|