Rename good_handler.py to handler.py
Browse files
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(
|
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
|