hidevscommunity commited on
Commit
aa9ceb2
·
1 Parent(s): 743782b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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', 'wb'))
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):