From ec8c9840ec88f5356492d2dc6c78734972bf8926 Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 11 Jun 2026 11:17:48 +0000 Subject: [PATCH] Follow asessment documentation to secure model. --- Website Files/app.py | 2 +- Website Files/{model.pkl => models/main.pkl} | Bin 2 files changed, 1 insertion(+), 1 deletion(-) rename Website Files/{model.pkl => models/main.pkl} (100%) diff --git a/Website Files/app.py b/Website Files/app.py index 6439b4e..e1f633a 100644 --- a/Website Files/app.py +++ b/Website Files/app.py @@ -6,7 +6,7 @@ from flask import Flask BASE_DIR = os.path.dirname(os.path.abspath(__file__)) -model_path = os.path.join(BASE_DIR, "model.pkl") +model_path = os.path.join(BASE_DIR, "models/main.pkl") # to get your model: joblib.dump(model, "model.pkl") model = joblib.load(model_path) diff --git a/Website Files/model.pkl b/Website Files/models/main.pkl similarity index 100% rename from Website Files/model.pkl rename to Website Files/models/main.pkl