Update handler.py
Browse files- 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 |
"""
|