andrewrreed HF staff commited on
Commit
856f178
1 Parent(s): 67a58db

update data dir

Browse files
__pycache__/handler.cpython-310.pyc CHANGED
Binary files a/__pycache__/handler.cpython-310.pyc and b/__pycache__/handler.cpython-310.pyc differ
 
handler.py CHANGED
@@ -7,7 +7,7 @@ class EndpointHandler:
7
  def __init__(self, path=""):
8
  self.model = GECToR.from_pretrained(path)
9
  self.tokenizer = AutoTokenizer.from_pretrained(path)
10
- self.encode, self.decode = load_verb_dict("data/verb-form-vocab.txt")
11
 
12
  def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
13
  """
 
7
  def __init__(self, path=""):
8
  self.model = GECToR.from_pretrained(path)
9
  self.tokenizer = AutoTokenizer.from_pretrained(path)
10
+ self.encode, self.decode = load_verb_dict("./data/verb-form-vocab.txt")
11
 
12
  def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
13
  """