Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -43,6 +43,7 @@ def download_audio(video_url, quality: str = '128', speed: float = None):
|
|
43 |
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
|
44 |
ydl.download([video_url])
|
45 |
audio_file = ydl.prepare_filename(ydl.extract_info(video_url, download=False))
|
|
|
46 |
return audio_file
|
47 |
|
48 |
|
|
|
43 |
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
|
44 |
ydl.download([video_url])
|
45 |
audio_file = ydl.prepare_filename(ydl.extract_info(video_url, download=False))
|
46 |
+
print('audio_file', audio_file)
|
47 |
return audio_file
|
48 |
|
49 |
|