Spaces:
Paused
Paused
Update src/streamlit_app.py
Browse files- 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!")
|