WissMah's picture
Update README.md
3d39fdb verified
metadata
title: Stroke Predictor ZAKAAI Project πŸ’“
sdk: docker
license: mit

Stroke Predictor - Flask + Docker A minimal Flask app that serves a stroke risk model with a web form and a JSON API.

Local run pip install -r requirements.txt python app.py # http://127.0.0.1:8080

Docker docker build -t stroke-app:latest . docker run -p 8080:8080 stroke-app:latest

Endpoints GET / # form UI POST /predict # JSON: returns stroke_probability and predicted_label GET /health # healthcheck

Model file: model/stroke_pipeline.joblib

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference