oscarfu0501 commited on
Commit
01e9ad4
·
verified ·
1 Parent(s): 049083b

Upload handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -6
handler.py CHANGED
@@ -7,12 +7,7 @@ from ultralytics import YOLO
7
 
8
 
9
  class EndpointHandler:
10
- def __init__(self): #pass api key to model
11
- # self.CLIENT = InferenceHTTPClient(
12
- # api_url="https://detect.roboflow.com",
13
- # api_key=key
14
- # )
15
- # print("checkpoint 1")
16
  pass
17
 
18
  def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
 
7
 
8
 
9
  class EndpointHandler:
10
+ def __init__(self, key): # pass api key to model
 
 
 
 
 
11
  pass
12
 
13
  def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]: