doc: more formatting consistency to app.py