Update handler.py
Browse files- handler.py +2 -0
handler.py
CHANGED
@@ -25,6 +25,8 @@ if device.type != 'cuda':
|
|
25 |
|
26 |
class EndpointHandler():
|
27 |
def __init__(self, path=""):
|
|
|
|
|
28 |
# load the optimized model
|
29 |
print('creating base model...')
|
30 |
os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"
|
|
|
25 |
|
26 |
class EndpointHandler():
|
27 |
def __init__(self, path=""):
|
28 |
+
self.active = True
|
29 |
+
|
30 |
# load the optimized model
|
31 |
print('creating base model...')
|
32 |
os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"
|