This is a simple FastAPI application that provides a prediction endpoint based on a rule-based demo model.
-
Clone the repository:
git clone <repository-url>
-
Install dependencies:
pip install fastapi uvicorn
-
Run the FastAPI server:
uvicorn main:app --reload
-
Visit
http://127.0.0.1:8000/predicttt
in your browser or send a GET request with parametersage
andsex
.