Devasy23 / FaceRec

An advanced facial recognition system designed for real-time identification using deep learning models and optimized vector search. Features include face detection, embedding generation, and scalable deployment options.
Apache License 2.0
31 stars 30 forks source link

Handled exceptions in python files #97

Open Sai-ganesh-0004 opened 3 weeks ago

Sai-ganesh-0004 commented 3 weeks ago

Description

This update introduces exception handling for the concurrent execution of the FastAPI and Flask applications. The changes ensure that if either application fails to start, an error message is logged, helping to diagnose issues during startup. The motivation for this enhancement is to improve the reliability and maintainability of the application by providing clear logging of errors.

**Fixes #96

Type of change

How Has This Been Tested?

The following tests were conducted to verify the changes:

Checklist:

Sai-ganesh-0004 commented 3 weeks ago

Once check and tell me if I have to do something

Sai-ganesh-0004 commented 3 weeks ago

Can you update me

devansh-shah-11 commented 3 weeks ago

Hi @Sai-ganesh-0004 , Thank you for the efforts - we will review and get back

Sai-ganesh-0004 commented 2 weeks ago

any updates

Devasy23 commented 2 weeks ago

@devansh-shah-11 any updates?

Sai-ganesh-0004 commented 1 week ago

any updates @devansh-shah-11

Devasy23 commented 1 week ago

@Sai-ganesh-0004 could you please solve this errors in tests.



=========================== short test summary info ============================
ERROR testing/test_database.py
ERROR testing/test_face_cycle.py - RecursionError: maximum recursion depth exceeded in comparison
ERROR testing/test_face_endpoints.py - RecursionError: maximum recursion depth exceeded in comparison
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 3 errors in 9.38s ===============================```
SparshKhanna0001 commented 3 days ago

@Devasy23 upgrade this to level3, this deserves to be level3 due to extensive work that has to be done...!

Devasy23 commented 3 days ago

@SparshKhanna0001 i understand your concern but it is already decided by mentors that it is level 2 but it all errors are solved then maybe we can give level 3.

@Sai-ganesh-0004 please complete the necessary