cc1234 commited on
Commit
40a4317
1 Parent(s): 22320ed

update on 2023-02-18

Browse files
Files changed (4) hide show
  1. app.py +2 -1
  2. face.db +2 -2
  3. face.json +0 -0
  4. persons.zip +2 -2
app.py CHANGED
@@ -23,7 +23,8 @@ index.load(f"face.db")
23
  ANNOY_INDEX = json.load(open(f"face.json"))
24
 
25
  with pyzipper.AESZipFile('persons.zip') as zf:
26
- zf.setpassword(b"4321ecafhsats"[::-1])
 
27
  PERFORMER_DB = json.loads(zf.read('performers.json'))
28
 
29
 
 
23
  ANNOY_INDEX = json.load(open(f"face.json"))
24
 
25
  with pyzipper.AESZipFile('persons.zip') as zf:
26
+ password = os.getenv("VISAGE_KEY","").encode('ascii')
27
+ zf.setpassword(password)
28
  PERFORMER_DB = json.loads(zf.read('performers.json'))
29
 
30
 
face.db CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c8736a4b4f662d0e09630e1e3be81e81f7c45f1e5de38e0525d1c406edcb08e5
3
- size 373736736
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e34c90cadc50e77ae848d5521f9d5d630894176b00c7baf8f29af1924165c41
3
+ size 375379680
face.json CHANGED
The diff for this file is too large to render. See raw diff
 
persons.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:09fc1011b1978c71215e85b7982c98ebbec3de8b2b79891675a74e232e1ca2a0
3
- size 3021219
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22a175a153c70946d10cb3e28d9af36e845dfa144b8d9b007da080cbfbbb455e
3
+ size 3037354