earlalvarado-pi commited on
Commit
bbd6166
1 Parent(s): 23382e9

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -12,7 +12,7 @@ import spacy
12
  from typing import Dict, Any
13
 
14
  class EndpointHandler:
15
- def __init__(self):
16
  self.nlp = spacy.load("./")
17
 
18
  def __call__(self, data: Dict[str, Any]) -> Dict[str, Any]:
 
12
  from typing import Dict, Any
13
 
14
  class EndpointHandler:
15
+ def __init__(self, path=""):
16
  self.nlp = spacy.load("./")
17
 
18
  def __call__(self, data: Dict[str, Any]) -> Dict[str, Any]: