Mpodszus commited on
Commit
709c876
·
verified ·
1 Parent(s): 1c11039

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import numpy as np
8
  import matplotlib.pyplot as plt
9
 
10
  # Load the XGBoost model from Pickle
11
- with open("h22_xgb_Final.pkl", "wb") as f:
12
  loaded_model = pickle.load(f)
13
 
14
  # Ensure model is a Booster (handles both XGBClassifier & Booster cases)
 
8
  import matplotlib.pyplot as plt
9
 
10
  # Load the XGBoost model from Pickle
11
+ with open("h22_xgb_Final.pkl", "rb") as f:
12
  loaded_model = pickle.load(f)
13
 
14
  # Ensure model is a Booster (handles both XGBClassifier & Booster cases)