Streamlit Basics: Deploy Your First Web App
Learn how to deploy a Web App using share from Streamlit.
Last post, I showed you how to build your first app.
Now it is time to deploy it and have more material build your portfolio.
Preparing for Deploy
Deploying is even as easy as creating an app. All you need is a GitHub account and a requirements file.
Begin by creating a requirements.txt file. To do that, look at your #imports section on your code and you will need to get the versions.
In our example case, I need the versions used for these 5 libraries.
import seaborn as sns
import numpy as np
import pandas as pd
import streamlit as st
import plotly.express as px
To find that, you can open a command prompt and write pip freeze
. You will see something like this.