Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -8,7 +8,7 @@ from inference_sdk import InferenceHTTPClient
|
|
8 |
|
9 |
|
10 |
class EndpointHandler:
|
11 |
-
def __init__(self): # pass api key to model
|
12 |
pass
|
13 |
|
14 |
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|
|
|
8 |
|
9 |
|
10 |
class EndpointHandler:
|
11 |
+
def __init__(self, key): # pass api key to model
|
12 |
pass
|
13 |
|
14 |
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|