jhj0517 commited on
Commit
1a50cf4
·
1 Parent(s): 87272f5

add typo cases

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -31,7 +31,8 @@ class App:
31
  elif whisper_type in ["whisper"]:
32
  whisper_inf = WhisperInference()
33
  whisper_inf.model_dir = self.args.whisper_model_dir
34
- elif whisper_type in ["insanely_fast_whisper", "insanely-fast-whisper", "insanelyfastwhisper"]:
 
35
  whisper_inf = InsanelyFastWhisperInference()
36
  whisper_inf.model_dir = self.args.insanely_fast_whisper_model_dir
37
  else:
 
31
  elif whisper_type in ["whisper"]:
32
  whisper_inf = WhisperInference()
33
  whisper_inf.model_dir = self.args.whisper_model_dir
34
+ elif whisper_type in ["insanely_fast_whisper", "insanely-fast-whisper", "insanelyfastwhisper",
35
+ "insanely_faster_whisper", "insanely-faster-whisper", "insanelyfasterwhisper"]:
36
  whisper_inf = InsanelyFastWhisperInference()
37
  whisper_inf.model_dir = self.args.insanely_fast_whisper_model_dir
38
  else: