Skip to content

Commit

Permalink
Change loading folder
Browse files Browse the repository at this point in the history
  • Loading branch information
us8945 committed Sep 18, 2024
1 parent 3684d72 commit 1c421a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emp-churn-step-by-step/src/app9.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ==")


Expand Down

0 comments on commit 1c421a0

Please sign in to comment.