Spaces:
Sleeping
Sleeping
| title: Heart Risk | |
| emoji: ๐ | |
| colorFrom: yellow | |
| colorTo: purple | |
| sdk: gradio | |
| sdk_version: 5.37.0 | |
| app_file: app.py | |
| pinned: false | |
| # Heart Risk Prediction using KNN | |
| This Gradio app predicts heart risk based on Blood Pressure and Cholesterol levels using a K-Nearest Neighbors (KNN) model. | |
| ## How it works | |
| - Input: Blood Pressure and Cholesterol | |
| - Model: Trained with KNN on heart data | |
| - Output: "Risk" or "No Risk" | |
| ## Files | |
| - `app.py` - Gradio application script | |
| - `model.pkl` - Trained KNN model (uploaded separately) | |
| - `requirements.txt` - Dependencies | |
| ## Run locally | |
| Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |