frodos commited on
Commit
99e5048
1 Parent(s): e9311f3

Fix handler

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -26,7 +26,7 @@ def get_model(device="cpu"):
26
 
27
  class EndpointHandler():
28
 
29
- def __init__(self):
30
  self._model = get_model()
31
 
32
  def __call__(self, data: Dict[str, Any]) -> list[Dict[str, Any]]:
 
26
 
27
  class EndpointHandler():
28
 
29
+ def __init__(self, path=""):
30
  self._model = get_model()
31
 
32
  def __call__(self, data: Dict[str, Any]) -> list[Dict[str, Any]]: