File size: 682 Bytes
3f5be35
 
 
 
 
 
 
 
 
 
 
5a48029
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3f5be35
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
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