hassan526 commited on
Commit
a7168ad
·
verified ·
1 Parent(s): 38303a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,6 @@ portraitReplaceThreshold = 0.5
66
  printedCopyThreshold = 0.5
67
 
68
  def activate_id_ocr_sdk():
69
- return -1
70
  id_ocr_key = os.environ.get("LICENSE_KEY")
71
  id_ocr_dict_path = os.path.join(root_path, "id_ocr/engine/bin")
72
 
@@ -91,6 +90,7 @@ def activate_id_ocr_sdk():
91
  return ret
92
 
93
  def activate_id_live_sdk():
 
94
  id_live_key = os.environ.get("ID_LIVE_LICENSE_KEY")
95
  id_live_dict_path = os.path.join(root_path, "id_live/engine/model")
96
 
 
66
  printedCopyThreshold = 0.5
67
 
68
  def activate_id_ocr_sdk():
 
69
  id_ocr_key = os.environ.get("LICENSE_KEY")
70
  id_ocr_dict_path = os.path.join(root_path, "id_ocr/engine/bin")
71
 
 
90
  return ret
91
 
92
  def activate_id_live_sdk():
93
+ return -1
94
  id_live_key = os.environ.get("ID_LIVE_LICENSE_KEY")
95
  id_live_dict_path = os.path.join(root_path, "id_live/engine/model")
96