how to continuously display python output in a webpage?,app.run(debug=True)