doc: revisions to app.py