Building UI using Streamlit

Learn how to build a classifier UI using Streamlit.

Add UI components

Firstly, we’ll add a title and description for the interface.

import streamlit as st
# Title
st.title("Classifiers in Action")
# Description
st.text("Choose a Dataset and a Classifier in the sidebar. Input your values and get a prediction.")

Add the sidebar

Let’s add a sidebar to display the sliders on the Streamlit web ...