Skip to content

This API is a Flask-based web service that predicts a patient's health status based on three input features: sugar percentage, blood pressure, and temperature. The prediction logic is simple yet effective; if the calculated health status exceeds a threshold of 90, the patient is deemed to be in a sick condition.

Notifications You must be signed in to change notification settings

gehadepada/Flask_Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy with Vercel

Flask + Vercel

This example shows how to use Flask 3 on Vercel with Serverless Functions using the Python Runtime.

Demo

https://flask-hello-world-hwdu.vercel.app/predict?feature1=36.5&feature2=90&feature3=120

How it Works

This example uses the Web Server Gateway Interface (WSGI) with Flask to enable handling requests on Vercel with Serverless Functions.

Running Locally

npm i -g vercel
vercel dev

Your Flask application is now available at http://localhost:3000.

One-Click Deploy

Deploy the example using Vercel:

Deploy with Vercel

About

This API is a Flask-based web service that predicts a patient's health status based on three input features: sugar percentage, blood pressure, and temperature. The prediction logic is simple yet effective; if the calculated health status exceeds a threshold of 90, the patient is deemed to be in a sick condition.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages