Spaces:
Runtime error
Runtime error
Commit
·
0e2461f
1
Parent(s):
a1e4ced
Update app.py
Browse files
app.py
CHANGED
@@ -269,7 +269,7 @@ def YoutubeTranscribe(NumberOfSpeakers=None, SpeakerNames="", URL="", retries =
|
|
269 |
}],
|
270 |
}
|
271 |
try:
|
272 |
-
with
|
273 |
ydl.download([URL])
|
274 |
except:
|
275 |
return YoutubeTranscribe(NumberOfSpeakers, SpeakerNames, URL, retries-1)
|
|
|
269 |
}],
|
270 |
}
|
271 |
try:
|
272 |
+
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
|
273 |
ydl.download([URL])
|
274 |
except:
|
275 |
return YoutubeTranscribe(NumberOfSpeakers, SpeakerNames, URL, retries-1)
|