shubhasz commited on
Commit
be0ec28
·
1 Parent(s): be80ddf

small bug

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -36,7 +36,7 @@ class EndpointHandler():
36
  def __init__(self, path="") -> None:
37
  model = ORTModelForTokenClassification.from_pretrained(path)
38
  tokenizer = AutoTokenizer.from_pretrained(path)
39
- self.pipe = MyTokenClassificationPipeline(model=model,
40
  framework='pt',
41
  task='ner',
42
  tokenizer=tokenizer,
 
36
  def __init__(self, path="") -> None:
37
  model = ORTModelForTokenClassification.from_pretrained(path)
38
  tokenizer = AutoTokenizer.from_pretrained(path)
39
+ self.pipeline = MyTokenClassificationPipeline(model=model,
40
  framework='pt',
41
  task='ner',
42
  tokenizer=tokenizer,