Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from sklearn.preprocessing import LabelEncoder
|
|
| 6 |
le = LabelEncoder()
|
| 7 |
# Load the pickled model
|
| 8 |
def load_model():
|
| 9 |
-
return pickle.load(open('
|
| 10 |
|
| 11 |
# Function for model prediction
|
| 12 |
def model_prediction(model, features):
|
|
|
|
| 6 |
le = LabelEncoder()
|
| 7 |
# Load the pickled model
|
| 8 |
def load_model():
|
| 9 |
+
return pickle.load(open('Sales_Prediction_LinearRegresssion.pkl', 'rb'))
|
| 10 |
|
| 11 |
# Function for model prediction
|
| 12 |
def model_prediction(model, features):
|