Commit
·
aa9ceb2
1
Parent(s):
743782b
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import streamlit.components.v1 as components
|
|
| 5 |
|
| 6 |
# Load the pickled model
|
| 7 |
def load_model():
|
| 8 |
-
return pickle.load(open('Profit_Prediction_LassoRegresssion.pkl', '
|
| 9 |
|
| 10 |
# Function for model prediction
|
| 11 |
def model_prediction(model, features):
|
|
|
|
| 5 |
|
| 6 |
# Load the pickled model
|
| 7 |
def load_model():
|
| 8 |
+
return pickle.load(open('Profit_Prediction_LassoRegresssion.pkl', 'rb'))
|
| 9 |
|
| 10 |
# Function for model prediction
|
| 11 |
def model_prediction(model, features):
|