aadnk commited on
Commit
c4e4d19
1 Parent(s): 4b698fb
Files changed (1) hide show
  1. cli.py +2 -2
cli.py CHANGED
@@ -76,8 +76,8 @@ def cli():
76
  vad_prompt_window = args.pop("vad_prompt_window")
77
  vad_cpu_cores = args.pop("vad_cpu_cores")
78
 
79
- model = WhisperContainer(model_name, device=device, download_root=model_dir, vad_cpu_cores=vad_cpu_cores)
80
- transcriber = WhisperTranscriber(delete_uploaded_files=False)
81
  transcriber.set_parallel_devices(args.pop("vad_parallel_devices"))
82
 
83
  if (transcriber._has_parallel_devices()):
 
76
  vad_prompt_window = args.pop("vad_prompt_window")
77
  vad_cpu_cores = args.pop("vad_cpu_cores")
78
 
79
+ model = WhisperContainer(model_name, device=device, download_root=model_dir)
80
+ transcriber = WhisperTranscriber(delete_uploaded_files=False, vad_cpu_cores=vad_cpu_cores)
81
  transcriber.set_parallel_devices(args.pop("vad_parallel_devices"))
82
 
83
  if (transcriber._has_parallel_devices()):