diff --git a/backend/app/routers/predictions.py b/backend/app/routers/predictions.py index fe869b0..aa8b6f1 100644 --- a/backend/app/routers/predictions.py +++ b/backend/app/routers/predictions.py @@ -5,9 +5,9 @@ from app.services.ml_model import HousePricePredictor router = APIRouter() model = HousePricePredictor() -@router.post("/predict", +@router.get("/predictions/house-price", response_model=HousePredictionOutput, - summary="Predict house price", + summary="Get a house price prediction", description="Predicts the price of a house based on its features" ) async def predict_price(input_data: HousePredictionInput) -> HousePredictionOutput: