From 5c92bfaee34ac05d74cbb918a40f0e2a2b558309 Mon Sep 17 00:00:00 2001 From: Vassilis Minadakis <56068291+vassilismin@users.noreply.github.com> Date: Mon, 4 Nov 2024 16:49:53 +0200 Subject: [PATCH] chore: update jaqpotpy version (#48) * fix: remove predict_proba_onnx import * chore: jaqpotpy version * fix: jaqpotpy version * Update requirements.txt --- requirements.txt | 2 +- src/handlers/predict_sklearn.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 1a0c63a..709bb0e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,6 @@ fastapi==0.111.0 pydantic==2.7.1 uvicorn==0.29.0 starlette~=0.37.2 -jaqpotpy==6.9.0 +jaqpotpy==6.10.2 pre-commit==4.0.1 ruff==0.6.3 diff --git a/src/handlers/predict_sklearn.py b/src/handlers/predict_sklearn.py index 629ea8a..a26e7a3 100644 --- a/src/handlers/predict_sklearn.py +++ b/src/handlers/predict_sklearn.py @@ -1,7 +1,7 @@ from ..api.openapi import PredictionResponse from ..api.openapi.models.prediction_request import PredictionRequest from ..helpers import model_decoder, json_to_predreq -from ..helpers.predict_methods import predict_onnx, predict_proba_onnx +from ..helpers.predict_methods import predict_onnx import numpy as np