Spaces:
Sleeping
Sleeping
Commit
·
446d6c7
1
Parent(s):
4bb3f2e
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ st.set_page_config(
|
|
18 |
)
|
19 |
|
20 |
#Download youtube video
|
21 |
-
|
22 |
def download_audio(link):
|
23 |
with yt_dlp.YoutubeDL({'extract_audio': True, 'format': 'bestaudio', 'outtmpl': 'video.mp3'}) as video:
|
24 |
video.download(link)
|
|
|
18 |
)
|
19 |
|
20 |
#Download youtube video
|
21 |
+
#@st.cache_data
|
22 |
def download_audio(link):
|
23 |
with yt_dlp.YoutubeDL({'extract_audio': True, 'format': 'bestaudio', 'outtmpl': 'video.mp3'}) as video:
|
24 |
video.download(link)
|