Approximetal commited on
Commit
27e076b
1 Parent(s): fc9d436

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ class WhisperModel:
70
  class WhisperxModel:
71
  def __init__(self, model_name, align_model: WhisperxAlignModel):
72
  from whisperx import load_model
73
- self.model = load_model(model_name, device, compute_type="int8", asr_options={"suppress_numerals": True, "max_new_tokens": None, "clip_timestamps": None, "hallucination_silence_threshold": None})
74
  self.align_model = align_model
75
 
76
  def transcribe(self, audio_path):
 
70
  class WhisperxModel:
71
  def __init__(self, model_name, align_model: WhisperxAlignModel):
72
  from whisperx import load_model
73
+ self.model = load_model(model_name, device, compute_type="float32", asr_options={"suppress_numerals": True, "max_new_tokens": None, "clip_timestamps": None, "hallucination_silence_threshold": None, "hotwords": None})
74
  self.align_model = align_model
75
 
76
  def transcribe(self, audio_path):