English
ByteEdAdmin commited on
Commit
1211806
·
verified ·
1 Parent(s): a882432

Update handler.py

Browse files
Files changed (1) hide show
  1. 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"