abidlabs HF staff commited on
Commit
4a51b49
·
verified ·
1 Parent(s): 31ca64b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ placeholder_url = "https://www.youtube.com/watch?v=bfATETsvqt4&ab_channel=MiniMu
10
  placeholder_file = "example_acapella_video.mp4"
11
 
12
  def acapellify(url):
13
- yt = YouTube(url)
14
  try:
15
  video = yt.streams.get_highest_resolution()
16
  video.download(max_retries=5)
 
10
  placeholder_file = "example_acapella_video.mp4"
11
 
12
  def acapellify(url):
13
+ yt = YouTube(url, 'WEB')
14
  try:
15
  video = yt.streams.get_highest_resolution()
16
  video.download(max_retries=5)