cguynup commited on
Commit
59fca60
1 Parent(s): b6a854e

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -18,7 +18,7 @@ class EndpointHandler():
18
  yield i
19
 
20
  labels = []
21
- for out in pipeline(iterator(), padding=True, truncation=True, max_length=253):
22
  labels.append(int(out["label"][-1]))
23
 
24
  return {
 
18
  yield i
19
 
20
  labels = []
21
+ for out in self.pipeline(iterator(), padding=True, truncation=True, max_length=253):
22
  labels.append(int(out["label"][-1]))
23
 
24
  return {