Update app.py

remove little bugs.