It’s time to deploy! You’ll see a page that looks like this.
So we’ll specify a few things here. But you’ll notice that these fields auto-populate from your GitHub, including all public repositories, any branches therein, and .py files to be deployed (this will default to ‘streamlit_app.py’ but the dropdown will include your actual file names).
I’ll select my Diabetes_Hospitalizations repo that includes a requirements.txt file already from my Heroku deployment. I’m only using my Master branch at the moment, but I’d recommend putting the deployment in its own branch.
You can see my ‘web_app.py’ in the main file path dropdown.
NOTE: you should remove the leading ‘/’ from your main file path. This is a small bug at the moment because the repo dropdown will end with a ‘/’ and then the file will have two ‘//’ causing an error.