-
Create a new repository if not created already
-
Setup environment
- Install asdf using this guide
- Create python environment
> python -m venv ml > chmod +x ml/bin/activate > source ml/bin/activate - Install packages
pip install -r requirements.txt
-
Train model (if
mode)l.pklfile is not saved inmodel/)cd tabular python model.py -
Run the app locally
- Run flask app
cd tabular python api.py - Run the streamlit app
streamlit run ui.py
- Run flask app
-
Run the app locally using Docker
-
Install docker(skip if already installed)
-
Create docker image
sudo docker build -t ml_deployment . -
Run docker container
sudo docker run -d -p 8501:8501 -p 5000:5000 ml_deployment
-
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|