slplab commited on
Commit
9ee43a8
1 Parent(s): 4127757

Rename good_handler.py to handler.py

Browse files
Files changed (1) hide show
  1. good_handler.py → handler.py +1 -1
good_handler.py → handler.py RENAMED
@@ -15,6 +15,6 @@ class EndpointHandler:
15
  inputs = data.pop("inputs", data)
16
  transcribe = self.pipe
17
  transcribe.model.config.forced_decoder_ids = transcribe.tokenizer.get_decoder_prompt_ids(language="ko", task="transcribe")
18
- result = transcribe(data['inputs'])
19
 
20
  return result
 
15
  inputs = data.pop("inputs", data)
16
  transcribe = self.pipe
17
  transcribe.model.config.forced_decoder_ids = transcribe.tokenizer.get_decoder_prompt_ids(language="ko", task="transcribe")
18
+ result = transcribe(inputs)
19
 
20
  return result