From 5e62b2d43ed29df8050486296b7dcd2466eae632 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Tue, 3 Oct 2023 18:23:51 +0100 Subject: [PATCH] updated save filetype to parquet --- deployment/handlers/prediction_app.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/deployment/handlers/prediction_app.py b/deployment/handlers/prediction_app.py index 969439c..6f9d162 100644 --- a/deployment/handlers/prediction_app.py +++ b/deployment/handlers/prediction_app.py @@ -67,9 +67,7 @@ def handler(event, context): # TODO: Implement the loading of the model and prediction - storage_filepath = ( - f"s3://{PREDICTIONS_BUCKET}/{portfolio_id}/{property_id}/{created_at}.csv" - ) + storage_filepath = f"s3://{PREDICTIONS_BUCKET}/{portfolio_id}/{property_id}/{created_at}.parquet" logger.info("-------------------------") logger.info(f"--- Initiate MLModel ---")