harsh13333 commited on
Commit
15a070d
1 Parent(s): 1dd3a6e

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -8,7 +8,7 @@ class EndpointHandler():
8
  self,
9
  path: str,
10
  ):
11
- self.tagger = SequenceTagger.load(os.path.join(path,"model.bin"))
12
 
13
  def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
14
  """
 
8
  self,
9
  path: str,
10
  ):
11
+ self.tagger = SequenceTagger.load("model.bin")
12
 
13
  def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
14
  """