Maks is an AI-powered software application for ensuring that safety protocols are being followed by conducting face mask detection at public and private venues.
The above code will work for a directory that already has a .env file but not for a cloned fork for example. There are two ways to deal with this:
Come up with a better method to make an S3 & DB upload that does not require AWS & Mongo credentials to be included separately in a .env file.
Come up with a way to incorporate this .env way of storing credentials into actual real-world software that people can download and use.
To me, 2 doesn't really make any sense. So, option 1 seems the one to pursue (considering its probably good industry practice as well in the long run.)