The timeout error was not only because of timeout config, but this function "await faceExpressionModel.classify(faceCrop)" was returning a rejection of a promise which was causing the application to crash and to reach timeout; In the next days I will refactor the express server configuration and abstract the TensorFlow implementation.
The timeout error was not only because of timeout config, but this function "await faceExpressionModel.classify(faceCrop)" was returning a rejection of a promise which was causing the application to crash and to reach timeout; In the next days I will refactor the express server configuration and abstract the TensorFlow implementation.