Title: Installing & Setting Up Streamlit
1Installing Setting Up Streamlit
A Beginners Guide to Starting with Streamlit
2Agenda
- What is Streamlit?
- Prerequisites
- Installing Streamlit
- Creating Your First Streamlit App
- Running the App
- Streamlit Folder Structure
- Customizing Sharing Apps
- Summary
3 What is Streamlit?
- Streamlit is an open-source Python framework to
quickly build interactive web apps for machine
learning data science. - Requires no frontend coding (HTML, CSS, JS).
- Simple syntax build apps in minutes using pure
Python! - ?? Ref Official Docs Medium article Build Web
Apps in Python with Streamlit
4 Prerequisites
Install Python 3.8 Install pip (Python package
manager) Optional Create a virtual environment
5 Installing Streamlit
Open your terminal or command prompt
? Check installation
6 Creating Your First App
Create a new file called app.py Paste this code
?? Save the file in your project folder
7Running the App
In terminal, navigate to the file folder
?? A browser tab will open with your app
(usually http//localhost8501) ?? Make changes
to the code the app auto-updates!
8 Folder Structure
You can organize your files just like a mini
project.
9Customizing Sharing
- Use widgets st.slider(), st.button(),
st.text_input() Share app using - Streamlit Community Cloud
- Deploy on Heroku, Render, or Hugging Face Spaces
- ?? Add custom styling using st.markdown() and
themes in .streamlit/config.toml
10 Summary
Streamlit is easy to install with pip install
streamlit Write apps in Python no frontend
needed Run locally with streamlit run app.py
Share with the world in a few clicks!
11 Contact Online Training
- We Provide Online Training on Databricks and Big
Data Technologies! - ? Hands-on Training with Real-World Use Cases
- ? Live Sessions with Industry Experts
- ? Certification Guidance
- Visit our website https//www.accentfuture.com/
- Call/Whatsapp 91-9640001789
- Email Us contact_at_accentfuture.com
- Streamlit Training