From 1c421a0a846b7de010871c7b94887b6ce3499e6e Mon Sep 17 00:00:00 2001 From: Uri Smashnov Date: Wed, 18 Sep 2024 11:48:11 -0500 Subject: [PATCH] Change loading folder --- emp-churn-step-by-step/src/app9.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emp-churn-step-by-step/src/app9.py b/emp-churn-step-by-step/src/app9.py index c17d890..a4c5d71 100644 --- a/emp-churn-step-by-step/src/app9.py +++ b/emp-churn-step-by-step/src/app9.py @@ -74,9 +74,9 @@ async def serve(q: Q): async def init_app(q: Q) -> None: # Read and load data into memory log.info("==Start init_app Function ==") - q.app.predictions = pd.read_csv("./src/static/predictions.csv") + q.app.predictions = pd.read_csv("./static/predictions.csv") q.app.predictions = q.app.predictions.rename(columns={'Attrition.Yes': "Prediction"}) - q.app.shapley = pd.read_csv("./src/static/shapley_values.csv") + q.app.shapley = pd.read_csv("./static/shapley_values.csv") log.info("==Complete init_app Function ==")