Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|