fix bug
Browse files- handler.py +0 -1
handler.py
CHANGED
@@ -13,7 +13,6 @@ class EndpointHandler:
|
|
13 |
return cls._instance
|
14 |
|
15 |
def __init__(self, model_path=""):
|
16 |
-
if not self._model_loaded:
|
17 |
if not self._model_loaded:
|
18 |
# Construct the model path assuming the model is in the same directory as the handler file
|
19 |
script_dir = os.path.dirname(os.path.abspath(__file__))
|
|
|
13 |
return cls._instance
|
14 |
|
15 |
def __init__(self, model_path=""):
|
|
|
16 |
if not self._model_loaded:
|
17 |
# Construct the model path assuming the model is in the same directory as the handler file
|
18 |
script_dir = os.path.dirname(os.path.abspath(__file__))
|