This application predicts the progression of diabetes based on various health factors. It's built with Python and Streamlit, and can be run locally, in a Docker container, or deployed with Kubernetes.
Follow these steps to run the app without Docker:
- Install the dependencies from the Pipfile:
pip install pipenv pipenv install --deploy --ignore-pipfile
- Run the Streamlit app:
streamlit run app.py
Follow these steps to run the app with Docker:
- Save the Dockerfile. If you're using Windows, you can create a new text file named "Dockerfile" in Notepad.
- Build the Docker image:
cd .. docker build -t diabetic_pred .
- Run the Docker container:
docker run -p 8501:8501 diabetic_pred
Follow these steps to deploy the app with Kubernetes:
- Change the name of the image in the deploy.yaml file.
- Apply the deployment configuration:
kubectl apply -f deploy.yaml
Access the app at: http://localhost:8501/