Summary
In this chapter, we steered away from the development of models and focused more on how models can be deployed to interact with web applications. We investigated the idea of data transfer via APIs, and we also learned about some of the most common frameworks. We investigated one of the most common Python web application frameworks known as Flask. Using Flask, we developed an NLP summarization model that allows both human users and other web applications to interact with it and use its capabilities. In addition, we learned how to deploy previously trained models, such as those from scikit-learn
.
In each of these instances, we launched our models locally as we developed their frameworks and capabilities. In the next chapter, we will make our model available to others by using Docker containers and AWS to deploy our model to the cloud.