oscarfu0501 commited on
Commit
0eb3ca6
·
verified ·
1 Parent(s): beaeeb6

Update handler.py

Browse files
Files changed (1) hide show
  1. 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]]: