Skip to content

Commit 2427aa4

Browse files
author
Naresh-Cod
committed
Load Model
1 parent da67311 commit 2427aa4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
-54 Bytes
Binary file not shown.

app/routes/api_routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
api_bp = Blueprint('api', __name__)
99

1010
# _ Load Model
11-
MODEL_PATH = os.path.join(os.getcwd(), "model", "/home/kalikali/Documents/Projects/Bank_Insurance/app/models/insurance_model.pkl")
11+
MODEL_PATH = os.path.join(os.getcwd(), "app", "models", "insurance_model.pkl")
1212

1313
if not os.path.exists(MODEL_PATH):
1414
raise FileNotFoundError(f"⚠️ Model file not found at {MODEL_PATH}")

0 commit comments

Comments
 (0)