rajistics commited on
Commit
6c837dd
1 Parent(s): 374eeee

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -8,7 +8,7 @@ import numpy as np
8
  class EndpointHandler():
9
  def __init__(self, path=""):
10
  # load the optimized model
11
- self.pipe = pd.read_pickle(r'churn.pkl')
12
 
13
  def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
14
  """
 
8
  class EndpointHandler():
9
  def __init__(self, path=""):
10
  # load the optimized model
11
+ self.pipe = pd.read_pickle(r'./churn.pkl')
12
 
13
  def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
14
  """