Update handler.py
Browse files- 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=
|
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 |
)
|