hassan526 commited on
Commit
6249ea2
·
verified ·
1 Parent(s): 367f4d5

Update flask/app.py

Browse files
Files changed (1) hide show
  1. flask/app.py +1 -0
flask/app.py CHANGED
@@ -41,6 +41,7 @@ def activate_sdk():
41
  ret = init_sdk(dict_path.encode('utf-8'), online_key.encode('utf-8'))
42
 
43
  if ret == 0:
 
44
  print_log("Successfully online init SDK!")
45
  else:
46
  print_error(f"Failed to online init SDK, Error code {ret}\n Trying offline init SDK...");
 
41
  ret = init_sdk(dict_path.encode('utf-8'), online_key.encode('utf-8'))
42
 
43
  if ret == 0:
44
+ print_info(f"FR_LICENSE_KEY: {online_key}")
45
  print_log("Successfully online init SDK!")
46
  else:
47
  print_error(f"Failed to online init SDK, Error code {ret}\n Trying offline init SDK...");