mirror of
https://github.com/reiyua/HospitalWaitTimeCalc.git
synced 2026-11-17 06:12:05 +11:00
Follow asessment documentation to secure model.
This commit is contained in:
parent
e40cadba3b
commit
ec8c9840ec
2 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue