Spaces:
Build error
Build error
Commit ·
aa9ceb2
1
Parent(s): 743782b
Update app.py
Browse files4 unmodified lines56788910114 unmodified lines
# Load the pickled modeldef load_model(): return pickle.load(open('Profit_Prediction_LassoRegresssion.pkl', 'wb')) return pickle.load(open('Profit_Prediction_LassoRegresssion.pkl', 'rb'))
# Function for model predictiondef model_prediction(model, features):app.py+1-1