Displaying thumbnails in your image classification model deployment
When you created a deployment for the image classification model in the Deploying a fastai model trained on an image dataset recipe of Chapter 7, Deployment and Model Maintenance, there was something useful missing: a thumbnail of the image that you selected in home.html
. In this recipe, you will see how to update home.html
to display a thumbnail of the image that the user selects.
Getting ready
Ensure that you have followed the steps in the Deploying a fastai model trained on an image dataset recipe of Chapter 7, Deployment and Model Maintenance, to do the deployment of the image classification model.
How to do it…
In this recipe, you will be making updates to home.html
in your image classification model deployment so that a thumbnail of the image you selected gets displayed.
To make these updates, go through the following steps:
- Make the directory for the image classification deployment...