When I tried editing a post, I received this message:
It looks like your post is mostly code; please add some more details.
This shouldn't be the case, as firstly it isn't my post, and the editor cannot really add much more details. Especially when the code is so long, it is hard to add more information to counter this warning message.
**app.py**
add a white line after the header so the codeblock is separated from any surrounding text, move the import that follows the code fence to the next line. Maybe it needs a paragraph of text before the image.