Rockk08 commited on
Commit
2e34b35
·
verified ·
1 Parent(s): e5046e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def verify_image(url1):
35
  url = storage.child(f"{file.name}").get_url(None)
36
  # print(url)
37
  with requests.get(url) as response:
38
- result = DeepFace.verify(f"{url1}",url, model_name="VGG-Face", distance_metric='cosine')
39
  if result['verified']:
40
  flag = True
41
  start_index = file.name.rfind('/')
 
35
  url = storage.child(f"{file.name}").get_url(None)
36
  # print(url)
37
  with requests.get(url) as response:
38
+ result = DeepFace.verify(f"{url1}",url, model_name="Facenet", distance_metric='cosine')
39
  if result['verified']:
40
  flag = True
41
  start_index = file.name.rfind('/')