How to upload a Python script to Streamlit?

Roger Marquez

Elite Member
Executive VIP
Jr. VIP
Joined
Apr 17, 2017
Messages
5,073
Reaction score
7,736
Been playing around with creating lots of python scripts using chatGPT and run them in Google Colab but I want to upload them to Streamlit and make the UI more user-friendly for my friends and co-workers.

I don´t know a thing about Streamlit so I need a basic/beginner's guide as to how to do this.

The best I can gather are these steps:

1. Move my Python Script to Github, add a requirements.txt file which contains requirements for BeautifulSoup Library
2. Go to Streamlit > Create App > Paste GitHub URL > Hit Deploy

I can move the Python script to Github (I think I know how :D ) but, I don´t know how to do the rest.

Are these steps accurate? Is there anything else? Are there any guides on the internet that showcase this process that a newbie can follow up?

Thanks in advance!
 
Back
Top