From 1290be7e5960970556cca76a3ee9b99c2516ad4a Mon Sep 17 00:00:00 2001 From: Mohan K Date: Wed, 23 Sep 2026 01:59:56 +0530 Subject: [PATCH] fix: add error_src_face_too_small to error descriptions to display friendly message --- frontend/src/App.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/App.js b/frontend/src/App.js index bafd407..d4386fe 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -13,6 +13,7 @@ const App = () => { 'error_below_min_image_size': 'Input image resolution is too small', 'error_exceed_max_image_size': 'Input image resolution is too large', 'error_src_skin_too_small': 'The skin area in the uploaded image is too small. The width of the skin needs to be greater than 60% of the width of the image.', + 'error_src_face_too_small': 'The face in the uploaded image is too small. Please ensure the face takes up more than 60% of the image width.', 'error_src_skin_out_of_bound': 'The skin area in the uploaded image is out of bound', 'error_lighting_dark': 'The lighting in the uploaded image is too dark' };