Update handler.py
Browse files- handler.py +1 -2
handler.py
CHANGED
@@ -17,10 +17,9 @@ class EndpointHandler:
|
|
17 |
def __init__(self, path='.'): # pass api key to model
|
18 |
# current_directory = os.getcwd()
|
19 |
# print("Current working directory:", current_directory)
|
20 |
-
|
21 |
|
22 |
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|
23 |
-
|
24 |
url = "https://drive.google.com/file/d/1jB8sDYYOTfuF7B1PMcDjkm5R7huv97Wm/view?usp=sharing"
|
25 |
gdown.download(url, 'best.pt', quiet=False)
|
26 |
|
|
|
17 |
def __init__(self, path='.'): # pass api key to model
|
18 |
# current_directory = os.getcwd()
|
19 |
# print("Current working directory:", current_directory)
|
20 |
+
pass
|
21 |
|
22 |
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|
|
|
23 |
url = "https://drive.google.com/file/d/1jB8sDYYOTfuF7B1PMcDjkm5R7huv97Wm/view?usp=sharing"
|
24 |
gdown.download(url, 'best.pt', quiet=False)
|
25 |
|