doc: revisions to app.py (2)