lanbogao commited on
Commit
795e667
1 Parent(s): a2bfe87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import yt_dlp
7
  langs = ["None"] + sorted(list(whisper.tokenizer.LANGUAGES.values()))
8
  model_size = list(whisper._MODELS.keys())
9
 
10
- def get_subtitles(url langs=['en']):
11
  # Download subtitles if available
12
  ydl_opts = {
13
  'writesubtitles': True,
 
7
  langs = ["None"] + sorted(list(whisper.tokenizer.LANGUAGES.values()))
8
  model_size = list(whisper._MODELS.keys())
9
 
10
+ def get_subtitles(url, langs=['en']):
11
  # Download subtitles if available
12
  ydl_opts = {
13
  'writesubtitles': True,