puneet29 / stylizeapp

A flask website for style transfer
https://bit.ly/stylizeapp
GNU Lesser General Public License v3.0
35 stars 3 forks source link

Improved __init__.py #2

Closed Nayak-cyber closed 4 years ago

Nayak-cyber commented 4 years ago

I added debug attribute(i.e, "debug=True").If you add debug=True in your flask app then whenever you save your file your flask app will automatically restart which is good and convenient will developing the app for you and other developers.

puneet29 commented 4 years ago

Hi @Nayak-cyber Thank you for taking the time to read through the code. But using debug=True has some serious security implications when used in production. While moving your application to production, it is advised to disable any kind of debugging, so that anyone who's not intended to know the errors in the application remains unaware. You can research more on the security implications of debugging in production.