Spaces:
No application file
No application file
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -3,6 +3,9 @@ import streamlit as st
|
|
| 3 |
import pandas as pd
|
| 4 |
import joblib
|
| 5 |
|
|
|
|
|
|
|
|
|
|
| 6 |
# Load the trained model
|
| 7 |
def load_model():
|
| 8 |
return joblib.load("customer_prediction_model_v1_0.joblib")
|
|
|
|
| 3 |
import pandas as pd
|
| 4 |
import joblib
|
| 5 |
|
| 6 |
+
import warnings
|
| 7 |
+
warnings.filterwarnings("ignore", message=".*ScriptRunContext.*")
|
| 8 |
+
|
| 9 |
# Load the trained model
|
| 10 |
def load_model():
|
| 11 |
return joblib.load("customer_prediction_model_v1_0.joblib")
|