jayebaku commited on
Commit
51cc38a
·
verified ·
1 Parent(s): 0e8f760

Update classifier.py

Browse files
Files changed (1) hide show
  1. classifier.py +1 -1
classifier.py CHANGED
@@ -14,7 +14,7 @@ def classify(tweet, event_model, hftoken, threshold):
14
 
15
 
16
  # with onnx pipeline
17
- onnx_classifier = pipeline("text-classification", model=event_model, accelerator="ort")
18
  prediction = onnx_classifier(text)[0]
19
 
20
 
 
14
 
15
 
16
  # with onnx pipeline
17
+ onnx_classifier = opipeline("text-classification", model=event_model, accelerator="ort")
18
  prediction = onnx_classifier(text)[0]
19
 
20