Upload handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -5,7 +5,7 @@ import cv2
|
|
| 5 |
import base64
|
| 6 |
from inference_sdk import InferenceHTTPClient
|
| 7 |
|
| 8 |
-
class
|
| 9 |
def __init__(self, key): #pass api key to model
|
| 10 |
self.CLIENT = InferenceHTTPClient(
|
| 11 |
api_url="https://detect.roboflow.com",
|
|
|
|
| 5 |
import base64
|
| 6 |
from inference_sdk import InferenceHTTPClient
|
| 7 |
|
| 8 |
+
class EndpointHandler():
|
| 9 |
def __init__(self, key): #pass api key to model
|
| 10 |
self.CLIENT = InferenceHTTPClient(
|
| 11 |
api_url="https://detect.roboflow.com",
|