RamAnanth1 commited on
Commit
f9230c7
·
1 Parent(s): bd727b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -10,11 +10,9 @@ download_path = "tmp/"
10
 
11
  def dataset(url, name):
12
  ds = TranscriptDataset(name)
13
- params = dict(model_size=model_size, language=language, write=write, number_videos=500)
14
  data = []
15
  whisper_options = dict(
16
- model_size=model_size, mode=mode, language=language, write=write
17
- )
18
  whisperPP = WhisperPP(data, **whisper_options)
19
  downloader = YoutubeDownloader(download_path)
20
  downloader.download(url, whisperPP)
 
10
 
11
  def dataset(url, name):
12
  ds = TranscriptDataset(name)
 
13
  data = []
14
  whisper_options = dict(
15
+ model_size=model_size, mode=mode, write=write, number_videos=500)
 
16
  whisperPP = WhisperPP(data, **whisper_options)
17
  downloader = YoutubeDownloader(download_path)
18
  downloader.download(url, whisperPP)