Fixed a small bug in app.py