Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 788 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 788 Bytes

backend API for a ml Service

the API is live
Frontend
Backend

backend with Python FastApi https://fastapi.tiangolo.com/

API for a ML model, that predicts the quality of a wine (from 0 to 10) using some chemical attributes of the wine

commands

Run server

uvicorn main:app --reload

API

https://predict-wine-quality-api.herokuapp.com/predict

POST request with body

{
 "volatile acidity": 0.7,
 "citric acid": 0.0,
 "residual sugar": 1.9,
 "chlorides": 0.076,
 "free sulfur dioxide": 11.0,
 "total sulfur dioxide": 34.0,
 "density": 0.9978,
 "pH": 3.51,
 "sulphates": 0.56,
 "alcohol": 9.4
}