aiplexdeveloper commited on
Commit
b70fb3b
·
verified ·
1 Parent(s): d166559

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -7,7 +7,7 @@ import io
7
  import os
8
 
9
  class EndpointHandler():
10
- def __init__(self):
11
  self.pipeline = KPipeline(lang_code='a')
12
 
13
  def __call__(self, inputs: Dict[str, Any]) -> Dict[str, Any]:
 
7
  import os
8
 
9
  class EndpointHandler():
10
+ def __init__(self, model_dir: str):
11
  self.pipeline = KPipeline(lang_code='a')
12
 
13
  def __call__(self, inputs: Dict[str, Any]) -> Dict[str, Any]: