PavanKumarD commited on
Commit
5fd5f37
·
verified ·
1 Parent(s): 988a93d

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -93,7 +93,7 @@ st.markdown("""
93
  @st.cache_resource
94
  def load_model():
95
  try:
96
- return joblib.load("best_catboost_model.pkl")
97
  except FileNotFoundError:
98
  st.error("⚠️ Model file not found. Please ensure 'best_catboost_model.pkl' is in the correct directory.")
99
  return None
 
93
  @st.cache_resource
94
  def load_model():
95
  try:
96
+ return joblib.load("src/best_catboost_model.pkl")
97
  except FileNotFoundError:
98
  st.error("⚠️ Model file not found. Please ensure 'best_catboost_model.pkl' is in the correct directory.")
99
  return None