justin2341 commited on
Commit
38daf3e
1 Parent(s): fb6b587

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ def check_liveness():
103
 
104
  try:
105
  #image = apply_exif_rotation(Image.open(file)).convert('RGB')
106
- image = Image.open(file)).convert('RGB')
107
  except:
108
  result = "Failed to open file"
109
  faceState = {"is_not_front": isNotFront, "is_occluded": isOcclusion, "eye_closed": isEyeClosure, "mouth_opened": isMouthOpening,
 
103
 
104
  try:
105
  #image = apply_exif_rotation(Image.open(file)).convert('RGB')
106
+ image = Image.open(file).convert('RGB')
107
  except:
108
  result = "Failed to open file"
109
  faceState = {"is_not_front": isNotFront, "is_occluded": isOcclusion, "eye_closed": isEyeClosure, "mouth_opened": isMouthOpening,