sudip2003 commited on
Commit
3d32831
·
verified ·
1 Parent(s): 0f97f8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def process_image(image):
68
 
69
  # Return a blank image with error text
70
  error_image = np.zeros((300, 500, 3), dtype=np.uint8)
71
- error_message = "Error: More than one face detected.Please upload a different image."
72
  cv2.putText(error_image, error_message, (20, 150), cv2.FONT_HERSHEY_SIMPLEX, 0.7, (0, 0, 255), 2, cv2.LINE_AA)
73
 
74
  return error_image
 
68
 
69
  # Return a blank image with error text
70
  error_image = np.zeros((300, 500, 3), dtype=np.uint8)
71
+ error_message = "Error: More than one face detected."
72
  cv2.putText(error_image, error_message, (20, 150), cv2.FONT_HERSHEY_SIMPLEX, 0.7, (0, 0, 255), 2, cv2.LINE_AA)
73
 
74
  return error_image