EnzoBustos commited on
Commit
d580476
·
1 Parent(s): 9d6e339

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ st.set_page_config(
17
  initial_sidebar_state = "auto",
18
  )
19
 
20
- @st.cache_data
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
  def download_audio(link):
22
  with yt_dlp.YoutubeDL({'extract_audio': True, 'format': 'bestaudio', 'outtmpl': 'video.mp3'}) as video:
23
  video.download(link)