Commit ·
1e55e7a
1
Parent(s): 0f80102
update
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -206,7 +206,7 @@ def cluster_windows(predicted_patterns , probability_threshold, window_size,eps
|
|
| 206 |
|
| 207 |
# This will be your primary inference function called by the HF endpoint.
|
| 208 |
class EndpointHandler:
|
| 209 |
-
def __init__(self):
|
| 210 |
# Model is loaded globally, so it's accessible here
|
| 211 |
self.model = rocket_model
|
| 212 |
if self.model is None:
|
|
|
|
| 206 |
|
| 207 |
# This will be your primary inference function called by the HF endpoint.
|
| 208 |
class EndpointHandler:
|
| 209 |
+
def __init__(self, path):
|
| 210 |
# Model is loaded globally, so it's accessible here
|
| 211 |
self.model = rocket_model
|
| 212 |
if self.model is None:
|