fix: add error_src_face_too_small to error descriptions to display friendly message
This commit is contained in:
@@ -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'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user