Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -8,7 +8,7 @@ st.set_page_config(page_title="Payment Fraud Detection", page_icon="💳", layou
|
|
| 8 |
def load_artifacts():
|
| 9 |
model = joblib.load("src/randomforest_model.pkl")
|
| 10 |
try:
|
| 11 |
-
features = joblib.load("model_features.pkl")
|
| 12 |
except Exception:
|
| 13 |
features = None
|
| 14 |
return model, features
|
|
|
|
| 8 |
def load_artifacts():
|
| 9 |
model = joblib.load("src/randomforest_model.pkl")
|
| 10 |
try:
|
| 11 |
+
features = joblib.load("src/model_features.pkl")
|
| 12 |
except Exception:
|
| 13 |
features = None
|
| 14 |
return model, features
|