From 4d943c8447162ab3938f5d515aaefc97fc47598f Mon Sep 17 00:00:00 2001 From: Jen Looper Date: Thu, 20 May 2021 13:15:06 -0400 Subject: [PATCH] web app edit per review --- Web-App/1-Web-App/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Web-App/1-Web-App/README.md b/Web-App/1-Web-App/README.md index 61abf5e67..1311c013d 100644 --- a/Web-App/1-Web-App/README.md +++ b/Web-App/1-Web-App/README.md @@ -249,6 +249,9 @@ def predict(): if __name__ == "__main__": app.run(debug=True) ``` + +> 💡 Tip: when you add [`debug=True`](https://www.askpython.com/python-modules/flask/flask-debug-mode) while running the web app using Flask, any changes you make to your application will be reflected immediately without the need to restart the server. Beware! Don't enable this mode in a production app. + If you run `python app.py` or `python3 app.py` - your web server starts up, locally, and you can fill out a short form to get an answer to your burning question about where UFOs have been sighted! Before doing that, take a look at the parts of `app.py`.