I’ve seen a few people asking questions like this so I just posed some code that I wrote to wrap the CNN from lesson 2 as a simple flask app that lets the user upload an image, the model predicts class probabilities, then the user sees the result on the next page.