slplab commited on
Commit
41dd0b3
1 Parent(s): c0158ec

Update handler.py

Browse files
Files changed (1) hide show
  1. 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(audio_tensor)
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