app.py should work but I keep getting an error with 'request' not being defined