Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -18,6 +18,6 @@ class EndpointHandler:
|
|
18 |
|
19 |
transcribe = self.pipe
|
20 |
transcribe.model.config.forced_decoder_ids = transcribe.tokenizer.get_decoder_prompt_ids(language="ko", task="transcribe")
|
21 |
-
result = transcribe(
|
22 |
|
23 |
return result
|
|
|
18 |
|
19 |
transcribe = self.pipe
|
20 |
transcribe.model.config.forced_decoder_ids = transcribe.tokenizer.get_decoder_prompt_ids(language="ko", task="transcribe")
|
21 |
+
result = transcribe(audio_nparray)
|
22 |
|
23 |
return result
|