...

/

Interactive Web Services with Dash

Interactive Web Services with Dash

Building interactive web services using Dash.

Overview

While the standard deployment of a model as a web service is an API that you can call programmatically, it’s often useful to expose models as interactive web applications.

For example, we might want to build an application where there is a UI for specifying different inputs to a model, and the UI reacts to changes made by the user. While Flask can be used to build web pages that react to user input, there are libraries built on top of Flask that provide higher-level abstractions for building web applications with the Python language.

We’ll create a simple Dash application that provides a UI for interacting with a model. The application layout will contain three text boxes, where two are for user inputs and the third shows the output of ...