alzami commited on
Commit
9f1dd18
·
verified ·
1 Parent(s): 9d8192b

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -24,7 +24,7 @@ import json
24
  def load_model():
25
  """Load the trained model components"""
26
  try:
27
- components = joblib.load('income_prediction_components.joblib')
28
  return components
29
  except FileNotFoundError:
30
  st.error("Model file 'income_prediction_components.joblib' not found!")
 
24
  def load_model():
25
  """Load the trained model components"""
26
  try:
27
+ components = joblib.load('./src/income_prediction_components.joblib')
28
  return components
29
  except FileNotFoundError:
30
  st.error("Model file 'income_prediction_components.joblib' not found!")