edit handler
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -4,7 +4,7 @@ from time import perf_counter
|
|
| 4 |
|
| 5 |
class EndpointHandler:
|
| 6 |
|
| 7 |
-
def __init__(self, path="deployment/model.onnx"):
|
| 8 |
|
| 9 |
self.pipeline = Pipeline.create(task="text-classification", model_path=path)
|
| 10 |
|
|
|
|
| 4 |
|
| 5 |
class EndpointHandler:
|
| 6 |
|
| 7 |
+
def __init__(self, path="./deployment/model.onnx"):
|
| 8 |
|
| 9 |
self.pipeline = Pipeline.create(task="text-classification", model_path=path)
|
| 10 |
|