if statement is missing on app.py to call the main function to solve this issue- use at end of code if __name__ == '__main__': app.run(debug=True)