vikhyatk commited on
Commit
419d075
·
verified ·
1 Parent(s): d5b752c

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +1 -1
demo.py CHANGED
@@ -159,7 +159,7 @@ def process_image(input_image, use_ensemble):
159
  )
160
 
161
  faces_with_gaze = sum(1 for gp in gaze_points if gp is not None)
162
- status = f"Found {len(faces)} faces. {faces_with_gaze - len(faces)} gazing out of frame."
163
  return fig, status
164
 
165
  except Exception as e:
 
159
  )
160
 
161
  faces_with_gaze = sum(1 for gp in gaze_points if gp is not None)
162
+ status = f"Found {len(faces)} faces. {len(faces) - faces_with_gaze} gazing out of frame."
163
  return fig, status
164
 
165
  except Exception as e: