Heart-Risk / README.md
praveen1209's picture
Update README.md
5a48029 verified

A newer version of the Gradio SDK is available: 6.9.0

Upgrade
metadata
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