Spaces:
Sleeping
Sleeping
Gokulnath2003
commited on
Commit
•
dac55dd
1
Parent(s):
f4a78a6
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from sklearn.compose import ColumnTransformer
|
|
7 |
from sklearn.pipeline import Pipeline
|
8 |
|
9 |
# Load the trained model (assuming it's saved as a .pkl file)
|
10 |
-
model = joblib.load('
|
11 |
|
12 |
# Example: sample transformers for preprocessing
|
13 |
num_features = ['year', 'km_driven'] # Example numerical features
|
|
|
7 |
from sklearn.pipeline import Pipeline
|
8 |
|
9 |
# Load the trained model (assuming it's saved as a .pkl file)
|
10 |
+
model = joblib.load('RandomForestRegressor_model.pkl')
|
11 |
|
12 |
# Example: sample transformers for preprocessing
|
13 |
num_features = ['year', 'km_driven'] # Example numerical features
|