afurkank commited on
Commit
35c28c8
1 Parent(s): 18e5248

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -34,7 +34,7 @@ class EndpointHandler():
34
 
35
  self.asr_pipeline = pipeline(
36
  "automatic-speech-recognition",
37
- model="distil-whisper/distil-large-v3",
38
  torch_dtype=torch_dtype,
39
  device=device
40
  )
 
34
 
35
  self.asr_pipeline = pipeline(
36
  "automatic-speech-recognition",
37
+ model=model_settings.asr_model,
38
  torch_dtype=torch_dtype,
39
  device=device
40
  )