The default development server for flask is not suited for production environments. Gunicorn is a simple WSGI client written in pure python. This video is a general introduction to running a flask application with Gunicorn. The code for this video as well as instructions can be found here: Checkout my blog too:
Hide player controls
Hide resume playing