Spaces:
Sleeping
Sleeping
Commit
·
3650db9
1
Parent(s):
d580476
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,8 @@ st.set_page_config(
|
|
17 |
initial_sidebar_state = "auto",
|
18 |
)
|
19 |
|
20 |
-
|
|
|
21 |
def download_audio(link):
|
22 |
with yt_dlp.YoutubeDL({'extract_audio': True, 'format': 'bestaudio', 'outtmpl': 'video.mp3'}) as video:
|
23 |
video.download(link)
|
|
|
17 |
initial_sidebar_state = "auto",
|
18 |
)
|
19 |
|
20 |
+
#@st.cache_resource
|
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)
|