diff --git a/API/main.py b/API/main.py index 90b4fa4..895a1e6 100644 --- a/API/main.py +++ b/API/main.py @@ -168,7 +168,7 @@ def validate_checkpoint(cls, value): @app.post("/predict/") -async def predict_api(request: PredictionRequest): +def predict_api(request: PredictionRequest): """ Endpoint to predict results based on specified parameters. @@ -179,7 +179,7 @@ async def predict_api(request: PredictionRequest): - Predicted results. """ # try: - predictions = await predict( + predictions = predict( bbox=request.bbox, model_path=request.checkpoint, zoom_level=request.zoom_level, diff --git a/setup.py b/setup.py index fb0224a..f8a4419 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="fairpredictor", - version="0.0.34", + version="0.0.35", url="https://github.com/kshitijrajsharma/fairpredictor", author="Kshitij Raj Sharma", author_email="skshitizraj@gmail.com",