939 B
939 B
Getting Started
Prerequisites
- Python 3.7+
- Streamlit
- Scikit-learn
- Joblib
Installation
- Clone the repository
- Install dependencies:
pip install -r requirements.txt
Running the Application
Run the Streamlit application with:
streamlit run streamlit.py
The application will open in your default web browser, typically at http://localhost:8501.
Development
To modify the application:
- Edit the
streamlit.pyfile to change the UI or functionality - The application will automatically reload when you save changes
Deployment
Streamlit applications can be deployed in several ways:
- Streamlit Sharing: A free hosting service for Streamlit apps
- Heroku: Deploy using a Procfile and requirements.txt
- Docker: Containerize the application for deployment anywhere
For deployment, ensure that the model and scaler files are included with the application code.